Fix minor "bug" on readme example

This commit is contained in:
Harold Giménez 2010-05-08 10:25:24 -04:00
parent 5a87af27fa
commit bc5fa83941
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ The behavior of the association method varies depending on the build strategy us
post.author.new_record # => false
# Builds and saves a User, and then builds but does not save a Post
Factory.build(:post)
post = Factory.build(:post)
post.new_record? # => true
post.author.new_record # => false