accepts_nested_attributes_for - objects are ignored:


I've encountered some annoying problem with accepts_nested_attributes_for Model is: Request is: Controller is: Record before request = Record after request:

Within the request, asemployees_attributes is a hash containing two key/value pairs:

key 0 - An employee already associated with this relation key 1250268515769 : An employee added using javascript while updating the event

For some reason 1250268515769 is not associated with the object - no "INSERT INTO asemployees_events (..) VALUES (...)" happens on SQL-side.

What might be wrong here?

Thanks in advance Keep smiling yanosz