diff options
author | Semyon Perepelitsa <sema@sema.in> | 2011-08-31 14:40:45 +0400 |
---|---|---|
committer | Semyon Perepelitsa <sema@sema.in> | 2011-08-31 14:40:45 +0400 |
commit | 6d772c0953b418da774b2c3bf5cc297508669da7 (patch) | |
tree | 31d934cc7bbdbd27a6165d947e3bb147a5692253 /railties/guides/source | |
parent | 6783ce0de4511e2568765f2e4919758d70690391 (diff) | |
download | rails-6d772c0953b418da774b2c3bf5cc297508669da7.tar.gz rails-6d772c0953b418da774b2c3bf5cc297508669da7.tar.bz2 rails-6d772c0953b418da774b2c3bf5cc297508669da7.zip |
Fix typo: => instead of =
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/3_1_release_notes.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/3_1_release_notes.textile b/railties/guides/source/3_1_release_notes.textile index ba36735a0b..b9850daf15 100644 --- a/railties/guides/source/3_1_release_notes.textile +++ b/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. |