Sha256: 1e99d7e85f28d5cf3a706d8d42b0a26e3c67d6287ff0384182d8cf730c8eaa70

Contents?: true

Size: 231 Bytes

Versions: 1

Compression:

Stored size: 231 Bytes

Contents

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

  attr_accessor :name, :password_digest
  attr_accessible :name

  has_secure_password
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mass_assignment_with_multiple_roles-0.0.1 test/models/administrator.rb