mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix AM::MassAssignementSecurity doc
This commit is contained in:
parent
08f36451fc
commit
24a6609ea3
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ module ActiveModel
|
|||
# class Customer
|
||||
# include ActiveModel::MassAssignmentSecurity
|
||||
#
|
||||
# attr_accessor :name, :credit_rating
|
||||
# attr_accessor :name, :credit_rating, :last_login
|
||||
#
|
||||
# attr_protected :credit_rating, :last_login
|
||||
# attr_protected :last_login, :as => :admin
|
||||
|
|
Loading…
Reference in a new issue