Permalink
Browse files

Fixed syntax error in "block setting of attributes" example.

  • Loading branch information...
1 parent 8a08764 commit 465752ba6bf2cc124dc78f4a9eb7a1d74dd8c868 @eostrom eostrom committed Sep 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/CHANGELOG
View
@@ -62,7 +62,7 @@ a URI that specifies the connection configuration. For example:
has_one :account
end
- user.build_account{ |a| a.credit_limit => 100.0 }
+ user.build_account{ |a| a.credit_limit = 100.0 }
The block is called after the instance has been initialized. [Andrew White]

0 comments on commit 465752b

Please sign in to comment.