Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix AM::MassAssignementSecurity doc

  • Loading branch information...
commit 24a6609ea3a41f3ddc82f06e0ead429d01532ceb 1 parent 08f3645
@bogdan bogdan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activemodel/lib/active_model/mass_assignment_security.rb
View
2  activemodel/lib/active_model/mass_assignment_security.rb
@@ -71,7 +71,7 @@ module ClassMethods
# 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
Please sign in to comment.
Something went wrong with that request. Please try again.