Sha256: c37d3a692b0a5092e0cebe7c4c0132fcb807165fbe28329f21948b8a8af594f0

Contents?: true

Size: 279 Bytes

Versions: 1

Compression:

Stored size: 279 Bytes

Contents

# frozen_string_literal: true
require_dependency 'eac_users_support'

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

    validates :email, presence: true, uniqueness: true

    def to_s
      email
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eac_users_support-0.1.0 app/models/eac_users_support/user.rb