aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/user.rb
blob: e98fd8a0a1f73f66cb7dab8e671bc43fdbb897bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class User
  extend ActiveModel::Callbacks
  include ActiveModel::SecurePassword

  define_model_callbacks :create

  has_secure_password

  attr_accessor :password_digest
end