search for: invalidstatement

Displaying 1 result from an estimated 1 matches for "invalidstatement".

2006 Feb 24
3
Migrations, data loads and changes to the model
...do a rake migrate, my data load fails because it uses the model class Person, yet Person''s code now has an after_initialize that expects the Car association to be present. Because Car isn''t created until migration 003, I''m essentially up the creek. rake throwns an InvalidStatement exception. Has anyone found a decent way of handling these scenarios? Thanks! John -- Posted with http://DevLists.com. Sign up and save your time!