Shuaib85 I have been usisng will_paginate and it seems to work fine. In the railscast episode 51 I believe the code for the pagination was put in the model - moved from the controller. Have you tried this? Also I notice that on your previous post it said that your undifined method was in your list action on line 12. perhaps you could show more of your code and also paste your question on the will_paginate google group where the author of the code often helps. I am a newb so I don't know if this will help Best of sucess. - Owen
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ base.rb:1667:in `method_missing' app/controllers/admin_controller.rb:12:in `list' On Sep 16, 5:58 am, Andy PS <[EMAIL PROTECTED]> wrote: > No after installing and adding to environment.rb file still getting the > same error... > -- > 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 rubyonrails-talk@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---