Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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
    Javier Fernandez-Ivern commented at 3:02 PM

    Well, 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
    Javier Fernandez-Ivern commented at 6:07 AM

    Yes, 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...

  • Javier Fernandez-Ivern
    • 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
    by Javier Fernandez-Ivern at 12:56 AM
  • Javier Fernandez-Ivern
    • 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
    by Javier Fernandez-Ivern at 12:56 AM

    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
    Javier Fernandez-Ivern created the ticket at 11:30 PM

    When 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 ...