Will_paginate

Hi, I don’t speak English very well, and I have a problem, with the gem
mislav-will-paginate I install perfect, the las version 2.3.11 and I did
the example

http://dev.nozav.org/rails_ajax_table.html and I copy all!!

My problem is this:

NoMethodError in ItemController#list
undefined method `paginate’ for #ItemController:0x53dd614

None

Show session dump


Response
Headers:

{“Content-Type”=>“”,
“Cache-Control”=>“no-cache”}

I find a lot of information for this error but I don’t know.

The problem is this line in controller:

@items_pages, @items = paginate :items, :order => sort, :conditions =>
conditions, :per_page => items_per_page

Rails 2.3.3
RubyGems 1.8
Mongrel server

I have install the will-paginate gem an other problably I have problem
with this??
Thank you!!!

On Aug 18, 5:36 pm, Soller P. [email protected]
wrote:

The problem is this line in controller:

@items_pages, @items = paginate :items, :order => sort, :conditions =>
conditions, :per_page => items_per_page

That tutorial is written for people using classic_pagination, which is
not the same as will_paginate.

Fred