Topic: has_many_friends: limiting results
OK guys, I've been using has_many_friends which is a great plugin, but I've hit a snag.
On my user profile pages I just want to display the first 8 friends that a user has. You don't seem to be able to do this out of the box with has_many_friends. Does anyone have any suggestions?
I'm currently pulling the users friends using:
@friends = @user.friends
so preferably something I can add to the User model, so I don't have to hack away at the rest of the site or someway I can edit the plugin.
Also does anyone have any experience getting has_many_friends to play nicely with paginating_find?