activerecord-cached_at 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cached_at/base.rb +1 -1
- data/lib/cached_at/version.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: 9b337e6a81a89e040b93931c3b5b6149256e165b
|
4
|
+
data.tar.gz: 30ca746f43b88c5fe033bf379672548533c404f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57af1b7560442a3c96e92ec0a7d586ce8459d9e202f64e26e7c15d5908a923abc2aa6a511c830565755dab92746f7e8c4a0a7da29e48e90a0a775b9cd038fddf
|
7
|
+
data.tar.gz: 1d6c1ed6214bcf774a099e138d1762dd6ec92a80425c35b7b59510bc8f859957f6a631068a2133f45952b696e1ace1be3eb71ed4a805ffa0a3547f319cd841e8
|
data/lib/cached_at/base.rb
CHANGED
@@ -40,7 +40,7 @@ module CachedAt
|
|
40
40
|
[]
|
41
41
|
else
|
42
42
|
reflection.klass._reflections.values.select do |r|
|
43
|
-
r.options[:cached_at] && r.options[:through] == reflection.inverse_of&.name
|
43
|
+
r.options[:cached_at] && r.options[:through] && r.options[:through] == reflection.inverse_of&.name
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
data/lib/cached_at/version.rb
CHANGED