Displaying 1 result from an estimated 1 matches for "guard_against_missing_reflect".
2006 Feb 19
0
uninitialized constant (NameError)
...test 1
@companies = Contact::Company.find(:all,
:include=>[''company_office''],
:limit=>20)
end
main
In (2), I am getting the following
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:892:in
`guard_against_missing_reflections'': Association was not found; perhaps
you misspelled it? You specified :include => :company_office
(ActiveRecord::ConfigurationError)
from
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:890:in
`guard_against_missing_reflections''
from...