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

                                     

                                


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

  has_secure_password

  attr_accessor :password_digest
end