lib/apartment/tenant.rb in apartment-1.2.0 vs lib/apartment/tenant.rb in apartment-2.0.0

- old
+ new

@@ -1,7 +1,6 @@ require 'forwardable' -require 'apartment/deprecation' module Apartment # The main entry point to Apartment functions # module Tenant @@ -60,17 +59,8 @@ # Fetch the rails database configuration # def config @config ||= Apartment.connection_config - end - end - - def self.const_missing(const_name) - if const_name == :Database - Apartment::Deprecation.warn "`Apartment::Database` has been deprecated. Use `Apartment::Tenant` instead." - Tenant - else - super end end end