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
> To unsubscribe from this group, send email to
> For more options, visit this group at
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 post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.