@users = User.paginate(:page => params[:page], :per_page => 10) works for me.
On Jan 19, 11:41 am, James Bond <[email protected]> wrote: > Can I limit results in will_paginate plugin? > I want to paginate only 100 results 10 per page. > -- > 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 -~----------~----~----~----~------~----~------~--~---

