質問編集履歴
1
エラーコードの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -13,6 +13,26 @@
|
|
13
13
|
|
14
14
|
|
15
15
|
![イメージ説明](1b2990d890798fbc56f7ac5774404d25.png)
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
エラーメッセージの下に記載されたコード↓
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
```
|
24
|
+
|
25
|
+
def retrieve_connection(spec_name) #:nodoc:
|
26
|
+
|
27
|
+
pool = retrieve_connection_pool(spec_name)
|
28
|
+
|
29
|
+
raise ConnectionNotEstablished, "No connection pool with '#{spec_name}' found." unless pool
|
30
|
+
|
31
|
+
pool.connection
|
32
|
+
|
33
|
+
end
|
34
|
+
|
35
|
+
```
|
16
36
|
|
17
37
|
|
18
38
|
|