Displaying 1 result from an estimated 1 matches for "set_association_single_record".
Did you mean:
set_association_single_records
2008 Nov 06
10
Rails 2.1.2 bug in include on has_many?
...That :include is really useful to me
for efficiency.
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.each
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/association_preload.rb:74:in
`set_association_single_records''
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/association_preload.rb:67:in
`each''
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/association_preload.rb:67:in
`set_association_single_records''
/usr/lib/ruby/gems/1.8/gems/activerecord-2...