Actually if the parent is not persisted, the shovel operator does not save data on db.
On Monday, April 26, 2010 at 6:18:04 AM UTC+2, Ruby-Forum.com User wrote: > > Sharagoz wrote: > > In the first one, the child is saved right away. > > In the second, the child is not saved until the parent is saved > > > > You may find this usefull: > > http://blog.mrbrdo.net/2009/10/27/ruby-on-rails-new-vs-create-vs-build/ > > Thanks Sharagoz. I got some idea about this. > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonra...@googlegroups.com > <javascript:>. > To unsubscribe from this group, send email to > rubyonrails-ta...@googlegroups.com <javascript:>. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d74f6feb-16dd-436a-9b16-55a7c71b0cfc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.