aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRay Baxter <ray.baxter@gmail.com>2011-09-10 13:50:33 -0700
committerRay Baxter <ray.baxter@gmail.com>2011-09-10 13:50:33 -0700
commit41d179b7d67f01234b28fd6e4f6dc9cf8ef2c8db (patch)
treebb7f49bc0087ca5d5d2ce4002fac87c2b26b2f51
parent465752ba6bf2cc124dc78f4a9eb7a1d74dd8c868 (diff)
downloadrails-41d179b7d67f01234b28fd6e4f6dc9cf8ef2c8db.tar.gz
rails-41d179b7d67f01234b28fd6e4f6dc9cf8ef2c8db.tar.bz2
rails-41d179b7d67f01234b28fd6e4f6dc9cf8ef2c8db.zip
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 465752ba6bf2cc124dc78f4a9eb7a1d74dd8c868.
-rw-r--r--activerecord/CHANGELOG2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index acdb40592f..143de81925 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]