Displaying 1 result from an estimated 1 matches for "loan_type_ids".
2006 Jan 06
6
HABTM problem not saving all associations
...eclared in the
model will save during the initial @order.save in the create action in
my orders_controller.rb code below.
If the order is then updated via an edit action, all selected
associations will save correctly. If you notice in the
development.log dump, I''m passing product_ids and loan_type_ids arrays
back to the controller properly. Inspecting the @order object during
a breakpointer session shows the related object are available for
saving, but for some reason, ActiveRecord does not want to save the
second association class at the beginning.
Any ideas what I''m doing wrong?
I&...