Fix typo: => instead of =

This commit is contained in:
Semyon Perepelitsa
2011-08-31 14:40:45 +04:00
parent 6783ce0de4
commit 6d772c0953

View File

@@ -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.