Sha256: aca325a6446e66eb2e35100287dae8d205b4a3d24072d892bdcb00af07a5f202
Contents?: true
Size: 957 Bytes
Versions: 4
Compression:
Stored size: 957 Bytes
Contents
require 'shared_admin' class Admin include Neo4j::ActiveNode include SharedAdmin index :email ## Database authenticatable property :email, type: String, null: true property :encrypted_password, type: String, null: true ## Recoverable property :reset_password_token, type: String property :reset_password_sent_at, type: DateTime ## Rememberable property :remember_created_at, type: DateTime ## Confirmable property :confirmation_token, type: String, null: true, index: :exact property :confirmed_at, type: DateTime property :confirmation_sent_at, type: DateTime property :unconfirmed_email, type: String ## Lockable property :locked_at, type: DateTime property :active, type: Boolean, default: false property :created_at, type: DateTime property :updated_at, type: DateTime # def active? # return self.active # end end AdminAdapter = Admin.to_adapter unless Admin.is_a?(OrmAdapter::Base)
Version data entries
4 entries across 4 versions & 1 rubygems