Sha256: 18ced2a1db5fd8e3ec95db026fc32d3b3f85c8542fa68ee6ded68b9e3c477231

Contents?: true

Size: 294 Bytes

Versions: 5

Compression:

Stored size: 294 Bytes

Contents

# frozen_string_literal: true
require_dependency 'eac_users_support'

module EacUsersSupport
  class User < ActiveRecord::Base
    devise :database_authenticatable, :registerable, :rememberable

    validates :email, presence: true, uniqueness: true

    def to_s
      email
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
eac_users_support-0.2.2 app/models/eac_users_support/user.rb
eac_users_support-0.2.1 app/models/eac_users_support/user.rb
eac_users_support-0.2.0 app/models/eac_users_support/user.rb
eac_users_support-0.1.2 app/models/eac_users_support/user.rb
eac_users_support-0.1.1 app/models/eac_users_support/user.rb