amatsuda/kaminari — Issue #213: undefined method 'page'?
Author: jrochkind
Created: 2012-03-01 20:03:28+00:00
State: open

Is there something silly I'm doing wrong? Don't need to initialize kaminari in any way except adding it to the gemfile, right?

Compatible with Rails/AR 3.2? That's what I'm using.

And yet,

SomeClass.page(4)

=> undefined method `page' for #

SomeClass.where(:something => "whatever").page(4)

=> undefined method `page' for #

Any ideas? My ActiveRecord model is defined in an engine gem, that shouldn't matter, right?