Re: Paginate with Rails 2.0.2 question

Fingal
Tue, 08 Apr 2008 23:49:58 -0000

I have, I think, gotten the gem.  The files "will_paginate" and
"will_paginate.rb" exist in my vendor/plugins/will_paginate
directory.  I still get the "undefined method
''paginate''" message when
I try to load the page that''s supposed to use it.  Another posting
somewhere else said I needed to add "require
''will_paginate''" to my
environment.rb, and I did that, with no change in the result.  I''m not
sure if it should be necessary, but I am restarting the server every
time I make a change.

All I''m really trying to do is use AWDWR to learn about Rails, and I
wasn''t bright enough to install the downrev Rails (the previous layer
of the onion was "scaffold").  If uninstalling 2.0.2, and installing
1.something (what a pain) really is the only way to use AWDWR, I guess
I can, but this makes the whole business look pretty fragile, which I
thought was one of the main things RoR was *not* supposed to be.


On Mar 31, 8:07 am, fredistic
<fredis...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> I found that converting to will_paginate to be so easy it confused
> me.  I was looking for more work to do and didn''t realize I was
done.
> There''s a railscast on it somewhere.
>
> F
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com