querier 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/querier.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee6931c618aea1c0988e7a45c390e81a6e5270472eb2963bbf8db0dfd176a9be
|
4
|
+
data.tar.gz: 9bb96c0447914e61a32a4f7efe2c77fbeba1a800829baa2e40f02bdf91733042
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc2b2fe45f7b0ce58ee79a5000075896d39bca6aae1f7ab356f7f27e0b993a73af1b5339911255c1f37db6d4c9c9df6b25e28636faa80d7384b9095e0ef1a10a
|
7
|
+
data.tar.gz: 91c329ad6eb8f3d19cef96d5afaa29fab6651df37e919b2b92da636346dbd2cff4340190be4a236e3a26175acf839e147b342d99d814edeb80e534583e9d5119
|
data/lib/querier.rb
CHANGED
@@ -11,7 +11,8 @@ class Querier
|
|
11
11
|
|
12
12
|
def execute
|
13
13
|
@query_execution_count += 1
|
14
|
-
@execution_cached_result = ActiveRecord::Base.connection.select_all
|
14
|
+
@execution_cached_result = ActiveRecord::Base.connection.select_all(fill_query_params(query_template: @query_template, query_params: @query_params))
|
15
|
+
@execution_cached_result.map! {|record| record.symbolize_keys!}
|
15
16
|
end
|
16
17
|
|
17
18
|
def cached_result format: :hash
|