Sha256: c80bd4862c2dda3fda77a8e8001a0917d46c9f1899b2db7d92b8550a41f69990
Contents?: true
Size: 425 Bytes
Versions: 23
Compression:
Stored size: 425 Bytes
Contents
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
23 entries across 23 versions & 1 rubygems