Browse files

Fix remove_connection API issue

  • Loading branch information...
1 parent 99bc32a commit b58e41854a56ad8379649f6cde3716aa6c75a8bf @mperham mperham committed Mar 9, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/data_fabric/ar22.rb
View
4 lib/data_fabric/ar22.rb
@@ -30,8 +30,8 @@ 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

0 comments on commit b58e418

Please sign in to comment.