Sha256: 2e44b7e60580db4dcdc408e599966d63fefde36f35775a2be6d1944e1f73ce01

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise_invitable-0.3.5 test/rails_app/app/models/octopussy.rb
devise_invitable-0.3.4 test/rails_app/app/models/octopussy.rb