aboutsummaryrefslogblamecommitdiffstats
path: root/activemodel/test/models/administrator.rb
blob: a48f8b064f8cce38ccdec6a7570978d2ba6faf48 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                             
class Administrator
  include ActiveModel::Validations
  include ActiveModel::SecurePassword
  include ActiveModel::MassAssignmentSecurity

  attr_accessor :name, :password_digest
  attr_accessible :name

  has_secure_password
end