http://wiki.rubyonrails.com/rails/pages/HowtoPagination
-adam
On 1/24/06, David Dvorak <dau@seznam.cz> wrote:> Hello,
>
> maybe that I''m a stupid, but I don''t know how I can
working with
> pagination. In all examples is written (for example) next:
>
> def user_list
> @user_pages, @users = paginate(:users, :order_by =>
''name'')
> end
>
> So, it''s OK (as a scaffold) for all set of users. But I need a
little
> other functionality. For example I need paginate only a little bit of
> this set. I have sort user by their function in laboratory and I
don''t
> know, how I can paginate for example only technicians (if it''s
their
> count bigger than 5 person).
>
> Could help me anybody, please?
>
> Thanks.
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>