Alternatively I would also recommend you to try and do the same on the
script/console and see if the paginate method is returning what you intend
to return.

Thanks & Regards,
Dhruva Sagar.




2009/11/26 femto <femto...@gmail.com>

> 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 <dhruva.sa...@gmail.com> wrote:
> > are you sure you have installed the GEM ?
> >
> > Thanks & Regards,
> > Dhruva Sagar.
> >
> >
> >
> > On Thu, Nov 26, 2009 at 8:54 AM, femto <femto...@gmail.com> 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 rubyonrails-talk@googlegroups.com
> .
> > > To unsubscribe from this group, send email to
> > > rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com><rubyonrails-talk%2Bunsubscrib
> e...@googlegroups.com>
> > > .
> > > 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 rubyonrails-t...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com>
> .
> 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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to