Displaying 1 result from an estimated 1 matches for "adminareacontroller".
2006 Aug 19
4
acts_as_ferret causing strange behaviour
...del name (e.g. Page) is an uninitialized
constant. In addition the error message also tells me the problem
occured when attempting to load file e.g. /admin/page.rb
All my models are stored in the /models/ directory, however the
controller calling the model is inherited from a controller called
AdminAreaController within /controllers/admin/pages_controller.rb
So, why when I add acts_as_ferret does rails try to look for my model in
/model/admin if the controller is in /controllers/admin, but if i use
the console then everything is fine?
Any ideas, I''m a bit stumped...
--
Posted via http://www.r...