I am trying to use pagination helper inside a controller which is part
of a “module”, and also the model is within a “module” as well.
=== controller code fragment ===
@user_things_pages, @user_things = paginate :progresses,
:conditions => conditions,
=== Here are my active record models, grouped into modules ===
class Goals::UserController < Goals::BaseController
class Goals::Progress < ActiveRecord::Base
When trying to load the page, I get the following error below.
(But doing something like Progress.find(:all) seems to work just fine)
Is there something I am missing?
uninitialized constant Progress
Application Trace | Framework Trace | Full Trace