1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix method name for building associated object in nested_model_forms guide

This commit is contained in:
Prathamesh Sonpatki 2015-04-25 16:02:39 +05:30
parent 16c51bc84a
commit 3379ebc270

View file

@ -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