Sha256: 3f24a1a977ac84717cc32b51a6f5e30a30c6857e733478a59eef3cc5f37368fa

Contents?: true

Size: 517 Bytes

Versions: 2

Compression:

Stored size: 517 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
devise-security-0.11.1 lib/devise-security/orm/active_record.rb
devise-security-0.11.0 lib/devise-security/orm/active_record.rb