module Cell::Ext::ActiveRecord::Association
Say we have a model 'u', that is from an old Tenant
, loading an association like 'u.books' should swap into u.tenant while fetching.
Public Instance Methods
load_target()
click to toggle source
Calls superclass method
# File lib/cell/ext/active_record.rb, line 20 def load_target owner._activate_tenant do super end end