Skip to content

Commit

Permalink
Revert "Fixed syntax error in "block setting of attributes" example."
Browse files Browse the repository at this point in the history
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
raybaxter committed Sep 10, 2011
1 parent 465752b commit 41d179b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 41d179b

Please sign in to comment.