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