aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2015-04-25 16:02:39 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2015-04-25 16:02:39 +0530
commit3379ebc27057e72a7d18dff9929c288d5f884652 (patch)
tree64084bd69b361e1bd3a00e0d42975dc24b13fbdf /guides
parent16c51bc84a4ad1864949ef97e8d3739020863871 (diff)
downloadrails-3379ebc27057e72a7d18dff9929c288d5f884652.tar.gz
rails-3379ebc27057e72a7d18dff9929c288d5f884652.tar.bz2
rails-3379ebc27057e72a7d18dff9929c288d5f884652.zip
Fix method name for building associated object in nested_model_forms guide
Diffstat (limited to 'guides')
-rw-r--r--guides/source/nested_model_forms.md2
1 files changed, 1 insertions, 1 deletions
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