Module: DbCharmer::ActiveRecord::MasterSlaveRouting::InstanceMethods

Defined in:
lib/db_charmer/rails2/active_record/master_slave_routing.rb,
lib/db_charmer/rails3/active_record/master_slave_routing.rb

Constant Summary collapse

MASTER_METHODS =
[ :reload ]

Instance Method Summary collapse

Instance Method Details

#reload(*args, &block) ⇒ Object



40
41
42
43
44
# File 'lib/db_charmer/rails2/active_record/master_slave_routing.rb', line 40

def reload(*args, &block)
  self.class.on_master do
    super(*args, &block)
  end
end