db-charmer 1.6.5 → 1.6.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/db-charmer.gemspec +1 -1
- data/lib/db_charmer/active_record_extensions.rb +3 -3
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.6.
|
1
|
+
1.6.6
|
data/db-charmer.gemspec
CHANGED
@@ -37,13 +37,13 @@ module DbCharmer
|
|
37
37
|
end
|
38
38
|
|
39
39
|
#-----------------------------------------------------------------------------
|
40
|
-
@@
|
40
|
+
@@db_charmer_default_connections = {}
|
41
41
|
def db_charmer_default_connection=(conn)
|
42
|
-
@@
|
42
|
+
@@db_charmer_default_connections[self.name] = conn
|
43
43
|
end
|
44
44
|
|
45
45
|
def db_charmer_default_connection
|
46
|
-
@@
|
46
|
+
@@db_charmer_default_connections[self.name]
|
47
47
|
end
|
48
48
|
|
49
49
|
#-----------------------------------------------------------------------------
|