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

                                


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

  has_secure_password

  attr_accessor :password_digest
end