Pagination

I am using an old tutorial which is tripping me right up as I have the
latest version of rails installed. I'm persisting as I think I'm
learning a little bit more about how RoR works. However after installing
the scaffolding plug-in to fix an earlier problem I now have a problem
with the pagination. I have followed this workaround:

http://robots.thoughtbot.com/post/159807004/gotchas-when-upgrading-to-rails-2-1

and attempted to place require will_paginate in the environment.rb
location, but I find that I cannot then rub the Webrick server. I get
the following error.

home/brett/RoR/Apps/OpenBenefit/depot/config/environment.rb:42:
undefined local variable or method `will_paginate' for main:Object
(NameError)

How can I fix this, Am I doing something stupid?

B
-- 
Posted via http://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