sequel_acts_as_cacheable 1.3 → 1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sequel_acts_as_cacheable.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c463606c4da512ebd8eac485dfc687f7daf74263
|
4
|
+
data.tar.gz: d20b7df511315159c9ae1d48b62f9d664031a3d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b1e3c3b6b6ba41563ec93652ce80b42f520cde7d8faaa1e065d0b32c889a01ad18aaf1ae3c0eede2f66975e979d96c81d33316ba5f06234f7886c87cf4b75e6
|
7
|
+
data.tar.gz: bd57fde85501e7a27f99ee0e4edbab30637723c271e6f072eaa2c58f18c7c04f3e989da93f9d624421bd094f5446364df01ab4886412a2ecd5dae2d7ed87f1e8
|
@@ -55,7 +55,7 @@ module Sequel
|
|
55
55
|
cache_value = @acts_as_cacheable_cache.get key
|
56
56
|
rescue Exception => e
|
57
57
|
if acts_as_cacheable_logger
|
58
|
-
acts_as_cacheable_logger.error "CACHE.get failed in primary key lookup with args #{args.inspect} and model #{
|
58
|
+
acts_as_cacheable_logger.error "CACHE.get failed in primary key lookup with args #{args.inspect} and model #{name} so using mysql lookup instead, exception was #{e.inspect}"
|
59
59
|
end
|
60
60
|
cache_value = super *args
|
61
61
|
end
|