Module: ReadFromSlave::InstanceMethods

Defined in:
lib/read_from_slave.rb

Instance Method Summary collapse

Instance Method Details

#reload_with_read_from_slave(options = nil) ⇒ Object


121
122
123
124
# File 'lib/read_from_slave.rb', line 121

def reload_with_read_from_slave(options = nil)
  Thread.current[:read_from_slave] = :reload
  reload_without_read_from_slave(options)
end