I\'m using will_paginate for pagination, which has been working well so far, except for this one thing.
If I try to paginate a scope, for instance
class
I have a named_scope defined like this:
named_scope
named_scope :look_for, lambda { |search| bla;bla;bla }
I call it:
Person.look_for(params[:search]).paginate :page => params[:page]
And it works. Maybe you need some parameter to your scope?