Created
August 23, 2009 15:45
-
-
Save kovyrin/173335 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vendor/plugins/db-charmer/lib/db_charmer/connection_proxy.rb b/vendor/plugins/db-charmer/lib/db_charmer/connection_proxy.rb | |
index b2a6959..ac583f5 100644 | |
--- a/vendor/plugins/db-charmer/lib/db_charmer/connection_proxy.rb | |
+++ b/vendor/plugins/db-charmer/lib/db_charmer/connection_proxy.rb | |
@@ -1,14 +1,14 @@ | |
module DbCharmer | |
class ConnectionProxy < BlankSlate | |
- @@abstract_connection_class = nil | |
+ @abstract_connection_class = nil | |
def initialize(abstract_class) | |
- @@abstract_connection_class = abstract_class | |
+ @abstract_connection_class = abstract_class | |
end | |
def method_missing(meth, *args, &block) | |
- @@abstract_connection_class.retrieve_connection.send(meth, *args, &block) | |
+ @abstract_connection_class.retrieve_connection.send(meth, *args, &block) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment