Javier Fernandez-Ivern
Not a member
Javier Fernandez-Ivern's latest activity
Friday, August 20 2010
5417
validates_uniqueness_of should not trigger against a record marked for destru...
was updated
in Ruby on Rails
-
Javier Fernandez-Ivern commented at 3:02 PMWell, I'm looking into resolving this, it's somewhat tricky (to me, at least) since I need to make it work when validating the association, not just when saving...
-
Javier Fernandez-Ivern commented at 6:07 AMYes, but would you mind discussing the problem a little bit first? I no longer like my test case, because there's no guarantee that the record that is marked_fo...
-
- Tag changed from fields_for, mark_for_destruction, patch, update_attributes, validates_uniqueness_of to fields_for, mark_for_destruction, patch, test, update_attributes, validates_uniqueness_of
-
- Tag changed from mark_for_destruction validates_uniqueness_of fields_for update_attributes to fields_for, mark_for_destruction, patch, update_attributes, validates_uniqueness_of
Done. Sorry, I thought that process was only for people sending solutions not just tests.
Thursday, August 19 2010
5417
validates_uniqueness_of should not trigger against a record marked for destru...
was created
in Ruby on Rails
-
Javier Fernandez-Ivern created the ticket at 11:30 PMWhen editing multiple records in one form via fields_for, if these records belong to a model with a uniqueness constraint and you happen to delete a record and ...