Displaying 1 result from an estimated 1 matches for "crossappl".
2006 Apr 01
0
Newbie question: How to reference models in subdirectories
...subdirectory,
everything works fine, i.e.
belongs_to :product_categories, :class_name =>
''Material::ProductCategory"
However, when I reference a model in a different subdirectory, I get an
uninitialized constant error, i.e.
belongs_to :currencies, :class_name => ''CrossApplications::Currency''
=>
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.0/lib/active_support/dependencies.rb:112:in
`const_missing'': uninitialized constant ''CrossApplications''
What am I doing wrong here?
Thanks in advance for patience and a helpful answer...