Skip to content

Commit

Permalink
Fix method name for building associated object in nested_model_forms …
Browse files Browse the repository at this point in the history
…guide
  • Loading branch information
prathamesh-sonpatki committed Apr 25, 2015
1 parent 16c51bc commit 3379ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/nested_model_forms.md
Expand Up @@ -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

Expand Down

0 comments on commit 3379ebc

Please sign in to comment.