mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Active Model instead of ActiveModel.
This commit is contained in:
parent
e10b288bc6
commit
33be1b0e4b
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
* 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>
|
<ruby>
|
||||||
class Post < ActiveRecord::Base
|
class Post < ActiveRecord::Base
|
||||||
|
|
Loading…
Reference in a new issue