Sha256: 38389ecc42e44c3da96063d93b5b49b161553d57fde96a1eddc9cfe0ef3da2b8
Contents?: true
Size: 456 Bytes
Versions: 9
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::Authenticatable validates :name, presence: true def valid_for_authentication? auth_available && super end def do_something 'Nothing to see here!' end end
Version data entries
9 entries across 9 versions & 1 rubygems