From 465752ba6bf2cc124dc78f4a9eb7a1d74dd8c868 Mon Sep 17 00:00:00 2001 From: Erik Ostrom Date: Sat, 10 Sep 2011 13:39:25 -0500 Subject: Fixed syntax error in "block setting of attributes" example. --- activerecord/CHANGELOG | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/CHANGELOG') 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] -- cgit v1.2.3