diff options
author | Erik Ostrom <erik@echographia.com> | 2011-09-10 13:39:25 -0500 |
---|---|---|
committer | Erik Ostrom <erik@echographia.com> | 2011-09-10 13:39:25 -0500 |
commit | 465752ba6bf2cc124dc78f4a9eb7a1d74dd8c868 (patch) | |
tree | 7c5bd4da7792cc889f636dad986bab254e67c0de /activerecord | |
parent | 8a0876478d1f0875a5a295bbce6b7925907dc60e (diff) | |
download | rails-465752ba6bf2cc124dc78f4a9eb7a1d74dd8c868.tar.gz rails-465752ba6bf2cc124dc78f4a9eb7a1d74dd8c868.tar.bz2 rails-465752ba6bf2cc124dc78f4a9eb7a1d74dd8c868.zip |
Fixed syntax error in "block setting of attributes" example.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 143de81925..acdb40592f 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -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] |