Skip to content

Commit

Permalink
Fix minor "bug" on readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
Harold Giménez committed May 8, 2010
1 parent 5a87af2 commit bc5fa83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rdoc
Expand Up @@ -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

Expand Down

0 comments on commit bc5fa83

Please sign in to comment.