active_record_host_pool 0.3.3 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -43,7 +43,6 @@ module ActiveRecordHostPool
|
|
43
43
|
private
|
44
44
|
|
45
45
|
def _switch_connection
|
46
|
-
log("evaluating switchability: #{_host_pool_current_database} vs. #{@_cached_current_database} (I am #{$$})", "INFO")
|
47
46
|
if _host_pool_current_database && (_host_pool_current_database != @_cached_current_database)
|
48
47
|
log("select_db #{_host_pool_current_database}", "SQL") do
|
49
48
|
raw_connection.select_db(_host_pool_current_database)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record_host_pool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 4
|
9
|
+
- 0
|
10
|
+
version: 0.4.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ben Osheroff
|