Displaying 1 result from an estimated 1 matches for "table_a_inst".
2006 Mar 15
4
help with DRY violation
...ted.
However, i kept running into exceptions "undefined method ''construct_sql''.
I checked my dev log and saw there was an INSERT query for table_b just
after table_a''s INSERT, which is what i wanted. But it dies right after.
Why is that?
So do i need to just call
table_a_inst.table_b = Table_B.new()
table_a_inst.save
everytime i want to create a Table_A instance?
thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060315/d4ea61d5/attachment-0001.html