diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2015-04-25 16:02:39 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2015-04-25 16:02:39 +0530 |
commit | 3379ebc27057e72a7d18dff9929c288d5f884652 (patch) | |
tree | 64084bd69b361e1bd3a00e0d42975dc24b13fbdf /guides | |
parent | 16c51bc84a4ad1864949ef97e8d3739020863871 (diff) | |
download | rails-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.md | 2 |
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 |