When I call Invoice.find_all_by_im_invoice_state("Paid").each the
Invoice class is loaded.
When the Invoice class is loaded, all of its class level association
directives are executed. When it hits the one that doesn't have a
backing table, it fails.
So I need to be able to modify the Invoice class to remove the offending
association before the fixture load occurs.
Wes
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---