Skip to content

Commit

Permalink
Fix remove_connection API issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Mar 9, 2009
1 parent 99bc32a commit b58e418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/data_fabric/ar22.rb
Expand Up @@ -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
Expand Down

0 comments on commit b58e418

Please sign in to comment.