jeffrafter/simple_admin — Issue #5: undefined method page / kaminari error
Author: zapnap
Created: 2012-01-17 23:47:56+00:00
State: open

Seems like kaminari doesn't get wired up correctly inside of the engine. I get this error whenever I'm trying to view a resource *unless* I explicitly add the kaminari gem into my application's Gemfile (the application hosting the engine). I'm not familiar enough with engines to know how this should work -- I may dive in later -- but wanted to do it for now. In the short term may want to add it to the project README.

NoMethodError (undefined method `page' for #):
activerecord (3.2.0.rc1) lib/active_record/relation/delegation.rb:45:in `method_missing'
meta_search (1.1.2) lib/meta_search/builder.rb:27:in `page'
/Users/nap/.rvm/gems/ruby-1.9.2-p290@wefund/bundler/gems/simple_admin-da31d1983b24/app/controllers/simple_admin/admin_controller.rb:25:in `index'