lib/database_slave/base.rb in database_slave-0.1.0 vs lib/database_slave/base.rb in database_slave-0.1.1
- old
+ new
@@ -5,10 +5,10 @@
included do
cattr_accessor :slave_connections
self.slave_connections = []
class << self
- delegate :using_slave, to: :scoped
+ delegate :using_slave, :using, to: :scoped
end
end
end
end