Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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 465752b.
  • Loading branch information...
commit 41d179b7d67f01234b28fd6e4f6dc9cf8ef2c8db 1 parent 465752b
@raybaxter raybaxter 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]
Please sign in to comment.
Something went wrong with that request. Please try again.