Sha256: b73ccea548def4a10f966573ee40af0aca4ffcf091c15b40be55f037a09fbf02
Contents?: true
Size: 670 Bytes
Versions: 1
Compression:
Stored size: 670 Bytes
Contents
require 'active_record' require 'active_tenant/version' require 'active_tenant/engine' if defined?(Rails) require 'active_tenant/adapters/sqlite_adapter' require 'active_tenant/adapters/postgres_adapter' require 'active_tenant/base' require 'active_tenant/active_record_extensions' require 'active_tenant/configuration' module ActiveTenant def self.configuration @@configuration ||= Configuration.new end def self.configure yield(configuration) end def self.current ActiveTenant::Base.new end end ActiveRecord::Base.send :extend, ActiveTenant::ActiveRecord::Base ActiveRecord::Migration.send :extend, ActiveTenant::ActiveRecord::Migration
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_tenant-0.0.4 | lib/active_tenant.rb |