RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: thomasoa
Ahh, the same happens if I want to swap the dates of two nested Frobs.
It seems like there is a problem with nested form and uniquness conditions.
If I have many Frobs per Person object, with a condition on the Frobs being that the start_date of a Frob has to be unique for a person, then if, using a nested for, I delete a Frob, and add a Frob with the same date, then I get a uniqueness validation error.