aboutsummaryrefslogblamecommitdiffstats
path: root/app/models/user.rb
blob: c88d5b03409f7562dad4ec7d16b9ceb78f76a6b7 (plain) (tree)
1
2
3
4
5
6





                                                             
class User < ApplicationRecord
  has_secure_password
  has_many :sessions, dependent: :destroy

  normalizes :email_address, with: ->(e) { e.strip.downcase }
end