Sha256: 80ef646453a9528bfc2b18f77a862489fa1dfebe57ee4ff37764782a39b0b122
Contents?: true
Size: 350 Bytes
Versions: 1
Compression:
Stored size: 350 Bytes
Contents
class User < ApplicationRecord has_secure_password has_many :access_grants, class_name: 'Doorkeeper::AccessGrant', foreign_key: :resource_owner_id, dependent: :destroy has_many :access_tokens, class_name: 'Doorkeeper::AccessToken', foreign_key: :resource_owner_id, dependent: :destroy validates :email, presence: true, uniqueness: true end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mobile_workflow-0.7.7 | lib/generators/mobile_workflow/install/templates/user.rb.erb |