lib/apartment/database.rb in apartment-0.23.2 vs lib/apartment/database.rb in apartment-0.24.0

- old
+ new

@@ -6,11 +6,11 @@ module Database extend self extend Forwardable - def_delegators :adapter, :create, :current_database, :current, :drop, :process, :process_excluded_models, :reset, :seed, :switch + def_delegators :adapter, :create, :current_tenant, :current, :current_database, :drop, :process, :process_excluded_models, :reset, :seed, :switch attr_writer :config # Initialize Apartment config options such as excluded_models # @@ -61,6 +61,6 @@ # def config @config ||= Rails.configuration.database_configuration[Rails.env].symbolize_keys end end -end \ No newline at end of file +end