ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Rolling with Ruby on Rails, Part 2
Subject:   are we creating the recipe twice?
Date:   2006-07-30 13:06:08
From:   Damaris
Hi you all,


I was wondering if we are creating the Recipe twice. Why? Because we first made a new in the "new" action and then another new in "create" action... Can anybody there explains me these pieces of code? :)
Thanks!