Sha256: cd2727253f3017994e799f981f0d65f4013ce14e6b5e4dc678cf1551fe802f8c

Contents?: true

Size: 550 Bytes

Versions: 11

Compression:

Stored size: 550 Bytes

Contents

# This model is here for the generators' specs
class Octopussy < PARENT_MODEL_CLASS
  if DEVISE_ORM == :mongoid
    include Mongoid::Document
    include Mongoid::Attributes::Dynamic if defined?(Mongoid::Attributes::Dynamic)

    ## Database authenticatable
    field :email,              type: String, default: ""
    field :encrypted_password, type: String, default: ""
    validates_presence_of :email
    validates_presence_of :encrypted_password, if: :password_required?
  end

  devise :database_authenticatable, :validatable, :confirmable
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/devise_invitable-2.0.9/test/rails_app/app/models/octopussy.rb
devise_invitable-2.0.9 test/rails_app/app/models/octopussy.rb
devise_invitable-2.0.8 test/rails_app/app/models/octopussy.rb
devise_invitable-2.0.7 test/rails_app/app/models/octopussy.rb
devise_invitable-2.0.6 test/rails_app/app/models/octopussy.rb
devise_invitable-2.0.5 test/rails_app/app/models/octopussy.rb
devise_invitable-2.0.4 test/rails_app/app/models/octopussy.rb
devise_invitable-2.0.3 test/rails_app/app/models/octopussy.rb
devise_invitable-2.0.2 test/rails_app/app/models/octopussy.rb
devise_invitable-2.0.1 test/rails_app/app/models/octopussy.rb
devise_invitable-2.0.0 test/rails_app/app/models/octopussy.rb