Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed syntax error in "block setting of attributes" example.

  • Loading branch information...
commit 465752ba6bf2cc124dc78f4a9eb7a1d74dd8c868 1 parent 8a08764
@eostrom eostrom authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/CHANGELOG
View
2  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]

2 comments on commit 465752b

@raybaxter

You'll need to make this change in rails/rails.

Code and CHANGELOGS can't be edited in docrails.

@eostrom

Thanks. I was actually aiming for the release notes, but I guess I missed - and it looks like someone else has already made the fix, it just hasn't made it out to the site yet.

Please sign in to comment.
Something went wrong with that request. Please try again.