Re: [Rails] Nested Models not working

2010-07-20 Thread Colin Law
On 20 July 2010 12:29, IanJ wrote: > Urgghhh - Newbie help needed to stop me giving up on Rails. > > I have 3 nested models. > Recipe->RecipeParts->RecipeIngredients (to the ingredients index so > maybe 4 levels) > > class Recipe < ActiveRecord::Base >  has_many :recipe_parts >  accepts_nested_att

[Rails] Nested Models not working

2010-07-20 Thread IanJ
Urgghhh - Newbie help needed to stop me giving up on Rails. I have 3 nested models. Recipe->RecipeParts->RecipeIngredients (to the ingredients index so maybe 4 levels) class Recipe < ActiveRecord::Base has_many :recipe_parts accepts_nested_attributes_for :recipe_parts class RecipePart < Act