On Nov 28, 1:04 pm, Petan Cert <[EMAIL PROTECTED]>
wrote:
> > If you actually have that line in your view you'll be ignoring the
> > pagination stuff completely, since @entries is the thing with the
> > limited collection
>
> > Fred
>
> Hi Fred,
>
> all right, thanks. I've just tried to render the posts as collections of
> partials. <%= render :partial => 'user_posts', :collection =>
> @user.entries %>

no. you need :collection => @entries (assuming that in your controller
you've done @entries = @user.entries.paginate ...
>
> But it is still the same. Is there another way to show only the users
> posts and then be able to paginate them? THX
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to