Displaying 1 result from an estimated 1 matches for "section_folder".
2005 Dec 27
0
acts_as_tree, polymorphism and class loading problems
...ort/dependencies.rb:200:in
`const_missing''
(eval):3:in `data''
#{RAILS_ROOT}/app/helpers/pages_helper.rb:33:in `map''
....
====================================
"Another" description:
----------------------
This error occured while loading the following files:
section_folder.rb
SectionFolder in this case is a class that a Node subclass points to
(SectionFolderNode actually).
Any way around this apart from having to do a require for every possible
class in some controller (or in environment.rb)? Loop over the files in
/app/model and require them?
Regards,
/Marcus