Displaying 1 result from an estimated 1 matches for "sectionfoldernode".
2005 Dec 27
0
acts_as_tree, polymorphism and class loading problems
...OOT}/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