Sha256: e69c45d83d071ea089144538d5f3c15e3141d4e723d589254abb41c8be15d3d2
Contents?: true
Size: 456 Bytes
Versions: 16
Compression:
Stored size: 456 Bytes
Contents
# frozen_string_literal: true class User < ApplicationRecord devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :lockable, :validatable, :confirmable include GraphqlDevise::Concerns::Model validates :name, presence: true def valid_for_authentication? auth_available && super end def do_something 'Nothing to see here!' end end
Version data entries
16 entries across 16 versions & 1 rubygems