diff options
author | Hendy Tanata <htanata@gmail.com> | 2011-08-14 13:11:36 +0800 |
---|---|---|
committer | Hendy Tanata <htanata@gmail.com> | 2011-08-14 13:14:44 +0800 |
commit | 33be1b0e4bfe6b1dd2acf34d6f214f1b6c776bcc (patch) | |
tree | 08956e16d95b02ab8a18db8533b2dd4872495c67 /railties | |
parent | e10b288bc64b8b8160bf880ca2343469558803f9 (diff) | |
download | rails-33be1b0e4bfe6b1dd2acf34d6f214f1b6c776bcc.tar.gz rails-33be1b0e4bfe6b1dd2acf34d6f214f1b6c776bcc.tar.bz2 rails-33be1b0e4bfe6b1dd2acf34d6f214f1b6c776bcc.zip |
Active Model instead of ActiveModel.
Diffstat (limited to 'railties')
-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 4db6b2e8e0..77dff26280 100644 --- a/railties/guides/source/3_1_release_notes.textile +++ b/railties/guides/source/3_1_release_notes.textile @@ -250,7 +250,7 @@ user.build_account{ |a| a.credit_limit => 100.0 } * CSV Fixtures are deprecated and support will be removed in Rails 3.2.0. -* <tt>ActiveRecord#new</tt>, <tt>ActiveRecord#create</tt> and <tt>ActiveRecord#update_attributes</tt> all accept a second hash as an option that allows you to specify which role to consider when assigning attributes. This is built on top of ActiveModel's new mass assignment capabilities: +* <tt>ActiveRecord#new</tt>, <tt>ActiveRecord#create</tt> and <tt>ActiveRecord#update_attributes</tt> all accept a second hash as an option that allows you to specify which role to consider when assigning attributes. This is built on top of Active Model's new mass assignment capabilities: <ruby> class Post < ActiveRecord::Base |