Skip to content

Instantly share code, notes, and snippets.

@kovyrin
Created August 23, 2009 15:45
Show Gist options
  • Save kovyrin/173335 to your computer and use it in GitHub Desktop.
Save kovyrin/173335 to your computer and use it in GitHub Desktop.
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