Module: MultiDb::ActiveRecordExtensions::InstanceMethods

Defined in:
lib/multi_db/active_record_extensions.rb

Instance Method Summary collapse

Instance Method Details

#reload_with_master(*args, &block) ⇒ Object



15
16
17
# File 'lib/multi_db/active_record_extensions.rb', line 15

def reload_with_master(*args, &block)
  self.connection_proxy.with_master { reload_without_master }
end