Skip to content

Commit

Permalink
Fixed syntax error in "block setting of attributes" example.
Browse files Browse the repository at this point in the history
  • Loading branch information
eostrom committed Sep 10, 2011
1 parent 8a08764 commit 465752b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/CHANGELOG
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 465752b

Please sign in to comment.