Permalink
Browse files

Fix typo: => instead of =

  • Loading branch information...
semaperepelitsa committed Aug 31, 2011
1 parent 6783ce0 commit 6d772c0953b418da774b2c3bf5cc297508669da7
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/3_1_release_notes.textile
@@ -245,7 +245,7 @@ class User < ActiveRecord::Base
has_one :account
end
-user.build_account{ |a| a.credit_limit => 100.0 }
+user.build_account{ |a| a.credit_limit = 100.0 }
</ruby>
* Added <tt>ActiveRecord::Base.attribute_names</tt> to return a list of attribute names. This will return an empty array if the model is abstract or the table does not exist.

0 comments on commit 6d772c0

Please sign in to comment.