active_record_shards 2.5.9 → 2.5.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,8 +24,8 @@ module ActiveRecordShards
24
24
  self.class.quote_value(*args, &block)
25
25
  end
26
26
 
27
- def reload_with_slave_off
28
- self.class.on_master { reload_without_slave_off }
27
+ def reload_with_slave_off(*args, &block)
28
+ self.class.on_master { reload_without_slave_off(*args, &block) }
29
29
  end
30
30
  alias_method_chain :reload, :slave_off
31
31