lib/apartment.rb in apartment-0.24.3 vs lib/apartment.rb in apartment-0.25.0

- old
+ new

@@ -1,17 +1,17 @@ require 'apartment/railtie' if defined?(Rails) require 'active_support/core_ext/object/blank' require 'forwardable' require 'active_record' -require 'apartment/database' +require 'apartment/tenant' module Apartment class << self extend Forwardable - ACCESSOR_METHODS = [:use_schemas, :seed_after_create, :prepend_environment, :append_environment] + ACCESSOR_METHODS = [:use_schemas, :use_sql, :seed_after_create, :prepend_environment, :append_environment] WRITER_METHODS = [:tenant_names, :database_schema_file, :excluded_models, :default_schema, :persistent_schemas, :connection_class, :tld_length, :db_migrate_tenants] attr_accessor(*ACCESSOR_METHODS) attr_writer(*WRITER_METHODS)