Forum: Ruby on Rails AutosaveAssociation - Saving nested models without validation

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
834a5b9ae16a115b7ba667472650ab13?d=identicon&s=25 Marko Anastasov (markoa)
on 2009-02-17 15:30
(Received via mailing list)
Hi,
I'm using Rails 2.3 RC1. I've noticed that calling save(false) on the
model which
accepts_nested_attributes_for :another doesn't create the nested model
if
it's invalid. It does save it if it's been previously created though.
Is this known? If necessary I can prepare a minimal example.

  Marko
834a5b9ae16a115b7ba667472650ab13?d=identicon&s=25 Marko Anastasov (markoa)
on 2009-02-19 11:49
(Received via mailing list)
For the record, I've reported a bug with a failing test case on
http://rails.lighthouseapp.com/projects/8994-ruby-...

  Marko
This topic is locked and can not be replied to.