lib/apartment/tenant.rb in apartment-1.1.0 vs lib/apartment/tenant.rb in apartment-1.2.0
- old
+ new
@@ -7,10 +7,10 @@
module Tenant
extend self
extend Forwardable
- def_delegators :adapter, :create, :drop, :switch, :switch!, :current, :each, :reset, :seed, :current_tenant, :default_tenant
+ def_delegators :adapter, :create, :drop, :switch, :switch!, :current, :each, :reset, :set_callback, :seed, :current_tenant, :default_tenant
attr_writer :config
# Initialize Apartment config options such as excluded_models
#