Hi,

I had a problem where fields_for block was executed once, even if the
association collection was empty - child_form.object was nil of
course. Adding accepts_nested_attributes to parent model solved the
problem - block is now executed correctly for each instance of the
collection.

Is this proper behavior or a bug? I'm using Rails 2.3.4

Cheers,
Szymek
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to