Yes, the paginate find method in controller works.(Model.paginate blah
blah blah)
but <%= will_paginate @collection %> doesn't work  on view.


On 11月26日, 上午11时26分, Dhruva Sagar <[email protected]> wrote:
> are you sure you have installed the GEM ?
>
> Thanks & Regards,
> Dhruva Sagar.
>
>
>
> On Thu, Nov 26, 2009 at 8:54 AM, femto <[email protected]> wrote:
> > Hello all,will_paginate don't work on jruby platform,
> > the Model.paginate find works ok, accepts all kinds of params,
> > this is config.gem
> > config.gem 'will_paginate', :version => '2.3.11', :source =>
> > 'http://gemcutter.org',
> > but <%= will_paginate @collection %> doesn't work
> > it always produce nil(so nothing on page). weird.
>
> > --
>
> > 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]<rubyonrails-talk%2Bunsubscrib 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/rubyonrails-talk?hl=en.

--

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