Join GitHub today
update saves associations even when validation fails #92
This is a strange and nasty one.
= the form is re rendered with the red error messages
This happens because the
Assigning to the relation fires the SQL to DB instantly, and what we want is something like
Actually, I'm not sure that
[Open for pondering ...]
I think the following fixes it.
Nope, unfortuently not so far, lack of time... :-(
If your patch works for you you can monkey path, however in general it will not work, for example it will break batch_create and batch_update