提交 3379ebc2 编写于 作者: P Prathamesh Sonpatki

Fix method name for building associated object in nested_model_forms guide

上级 16c51bc8
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册