lib/connection_manager/relation.rb in connection_manager-1.1.4 vs lib/connection_manager/relation.rb in connection_manager-1.1.5

- old
+ new

@@ -8,14 +8,14 @@ @klass = ConnectionManager::Using::Proxy.new(@klass,connection_class_name) self end def slaves - using(@klass.send(:fetch_slave_connection)) + using(@klass.fetch_slave_connection) end def masters - using(@klass.send(:fetch_master_connection)) + using(@klass.fetch_master_connection) end end end ActiveRecord::Relation.send(:include, ConnectionManager::Relation)