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.

This project is archived and is in readonly mode.

Autosave associations don't create nested models without validation

#2013

Saving a model which accepts_nested_attributes_for :another, after applying some attributes and without validation, fails. The nested model should be created. I'm attaching a test case.

Reported by Marko Anastasov · February 19th, 2009 @ 10:44 AM

State: resolved
Milestone: none
Assigned to: Michael Koziarski Michael Koziarski
Importance: none

Activity

  1. Eloy Duran
    Eloy Duran

    Thanks Marko, I'll integrate this test case with a refactoring I'm working on. http://github.com/alloy/rails/tr...

    February 19th, 2009 @ 10:51 AM

  2. Michael Koziarski
  3. Eloy Duran
  4. Marko Anastasov
    Marko Anastasov

    Yes is does. Works fine now, many thanks.

    February 23rd, 2009 @ 10:20 AM

  5. Eloy Duran
    Eloy Duran

    Thanks for the feedback.

    February 24th, 2009 @ 08:51 AM

  6. Eloy Duran
    Eloy Duran
    • Assigned user changed from Eloy Duran to Michael Koziarski

    February 26th, 2009 @ 12:47 PM

  7. DHH
    DHH
    • State changed from new to resolved

    February 27th, 2009 @ 12:52 PM