aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/user.rb
blob: 6556b1a7d934ba23d2d208e9425ba7781fb3879c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
class User
  extend ActiveModel::Callbacks
  include ActiveModel::SecurePassword

  define_model_callbacks :create

  has_secure_password

  attr_accessor :password_digest
end