Sha256: 5a6ca08cd19b86bdc323ab1a5bf427ea361051c6e18fbcef9d4dd972f460a7e8

Contents?: true

Size: 369 Bytes

Versions: 2

Compression:

Stored size: 369 Bytes

Contents

# This model is here for the generators' specs
if DEVISE_ORM == :active_record
  class Octopussy < ActiveRecord::Base
    devise :database_authenticatable, :validatable, :confirmable, :encryptable
  end
elsif DEVISE_ORM == :mongoid
  class Octopussy
    include Mongoid::Document
    devise :database_authenticatable, :validatable, :confirmable, :encryptable
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
dougjohnston-devise_invitable-0.4.rc test/rails_app/app/models/octopussy.rb
aihs_devise_invitable-0.4.rc test/rails_app/app/models/octopussy.rb