From 3379ebc27057e72a7d18dff9929c288d5f884652 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Sat, 25 Apr 2015 16:02:39 +0530 Subject: Fix method name for building associated object in nested_model_forms guide --- guides/source/nested_model_forms.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides') diff --git a/guides/source/nested_model_forms.md b/guides/source/nested_model_forms.md index 1937369776..121cf2b185 100644 --- a/guides/source/nested_model_forms.md +++ b/guides/source/nested_model_forms.md @@ -106,7 +106,7 @@ Consider the following typical RESTful controller which will prepare a new Perso class PeopleController < ApplicationController def new @person = Person.new - @person.built_address + @person.build_address 2.times { @person.projects.build } end -- cgit v1.2.3