Sha256: 7a46e644403e825a35d040acdd2269ee524878e7af80776bbc92a89a3f5279a1

Contents?: true

Size: 476 Bytes

Versions: 3

Compression:

Stored size: 476 Bytes

Contents

# frozen_string_literal: true

class User < ActiveRecord::Base
  extend Devise::Models
  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable
  include DeviseTokenAuth::Concerns::User

  validates :first_name, :middle_name, :last_name, :password, :email, :gender, :date_of_birth, presence: true
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sis_core-1.0.5 app/models/user.rb
sis_core-1.0.4 app/models/user.rb
sis_core-1.0.3 app/models/user.rb