lib/data_fabric/ar22.rb in data_fabric-1.2.3 vs lib/data_fabric/ar22.rb in data_fabric-1.2.4
- old
+ new
@@ -28,11 +28,11 @@
def connected?
@proxy.connected?
end
- def remove_connection(klass)
- DataFabric.log(Logger::ERROR) { "remove_connection not implemented by data_fabric" }
+ def remove_connection(klass=self)
+ DataFabric.log(Logger::WARN) { "remove_connection not implemented by data_fabric" }
end
def connection_pool
raise "dynamic connection switching means you cannot get direct access to a pool"
end
\ No newline at end of file