Sha256: d379319e52320d13c1208c1ea66624442692368005588c2ca401393a3a8bd2fa

Contents?: true

Size: 257 Bytes

Versions: 7

Compression:

Stored size: 257 Bytes

Contents

# frozen_string_literal: true
if DEVISE_ORM == :active_record
  class ApplicationUserRecord < ActiveRecord::Base
    self.table_name = 'users'
  end
else
  class ApplicationUserRecord
    include Mongoid::Document
    store_in collection: 'users'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
devise-security-0.16.0 test/dummy/app/models/application_user_record.rb
devise-security-0.15.0 test/dummy/app/models/application_user_record.rb
devise-security-0.14.3 test/dummy/app/models/application_user_record.rb
devise-security-0.14.2 test/dummy/app/models/application_user_record.rb
devise-security-0.14.1 test/dummy/app/models/application_user_record.rb
devise-security-0.14.0 test/dummy/app/models/application_user_record.rb
devise-security-0.14.0.rc1 test/dummy/app/models/application_user_record.rb