Hi!

I have updated my app to rails 2.3. I have form that has few nested
models and I am happy that I can just write
accepts_nested_attributes_for :tasks, :allow_destroy => true, but
update_attributes! does not update my nested model. I have tried
update_attributes, and it works. Any ideas?

Few lines from log:

update_attributes:

 SQL (0.1ms)   BEGIN
  Education Update (0.3ms)   UPDATE `educations` SET `institution` =
'ins', `updated_at` = '2009-02-03 13:34:08' WHERE `id` = 4
  SQL (0.4ms)   COMMIT

update_attributes!:
  SQL (0.1ms)   BEGIN
  SQL (0.1ms)   COMMIT


--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to