From: Manoj Kumar on 23 Apr 2010 03:34 What is the difference between parent.children << child.new and parent.children.build(params[:child]) -- Posted via http://www.ruby-forum.com/.
From: Robert Klemme on 23 Apr 2010 04:16 2010/4/23 Manoj Kumar <manojs.nitt(a)gmail.com>: > What is the difference between > > parent.children << child.new > > and > > parent.children.build(params[:child]) What is the question? Seriously you do not provide any information about context or what code you are presenting. How do you expect us to answer such a question? Regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/
From: Manoj Kumar on 26 Apr 2010 00:10 Thanks Luis... -- Posted via http://www.ruby-forum.com/.
|
Pages: 1 Prev: Using metaprogramming to refactor many similar Rake tasks? Next: cannot find header-files |