Sha256: 850d032c3654f0f163030f5f5e961dab87e258c73f33af539e3a99df387c71be

Contents?: true

Size: 547 Bytes

Versions: 7

Compression:

Stored size: 547 Bytes

Contents

# frozen_string_literal: true

module DeviseSecurity
  module Orm
    # This module contains some helpers and handle schema (migrations):
    #
    #   create_table :accounts do |t|
    #     t.password_expirable
    #   end
    #
    module ActiveRecord
      module Schema
        include DeviseSecurity::Schema
      end
    end
  end
end

ActiveRecord::ConnectionAdapters::Table.send :include, DeviseSecurity::Orm::ActiveRecord::Schema
ActiveRecord::ConnectionAdapters::TableDefinition.send :include, DeviseSecurity::Orm::ActiveRecord::Schema

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
devise-security-0.15.0 lib/devise-security/orm/active_record.rb
devise-security-0.14.3 lib/devise-security/orm/active_record.rb
devise-security-0.14.2 lib/devise-security/orm/active_record.rb
devise-security-0.14.1 lib/devise-security/orm/active_record.rb
devise-security-0.14.0 lib/devise-security/orm/active_record.rb
devise-security-0.14.0.rc1 lib/devise-security/orm/active_record.rb
devise-security-0.13.0 lib/devise-security/orm/active_record.rb