Browse files

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

Code and CHANGELOGS can't be edited in docrails.
You'll need to make this change in rails/rails.

This reverts commit 465752b.
  • Loading branch information...
1 parent 465752b commit 41d179b7d67f01234b28fd6e4f6dc9cf8ef2c8db @raybaxter raybaxter committed Sep 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/CHANGELOG
@@ -62,7 +62,7 @@ a URI that specifies the connection configuration. For example:
has_one :account
- 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 41d179b

Please sign in to comment.