ack_rocket_cms 0.9.1 → 0.9.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rocket_cms/version.rb +1 -1
- data/template.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: d93c23fe14be5b7edccd8d0866a476a40d15a290
|
4
|
+
data.tar.gz: 6c50991079637bbdb1394d04eae6f1a77f6da376
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c366459a3cc134f85b80a0ad603de7de96446dba70e66b77b505bb9877ff1b20264d30ddb337a292f3bf1f900acff1b6064bb34d1860521d63914a7f44b910b0
|
7
|
+
data.tar.gz: 3cfbefe02259e2e32cddf39434e4d3318aefa08e5ce08476560b5da232dc54c9bc27394dca27ca9d81d675890fa387b3928f9a71dc9170d14f7fbce4fc340a65
|
data/Gemfile.lock
CHANGED
data/lib/rocket_cms/version.rb
CHANGED
data/template.rb
CHANGED
@@ -155,7 +155,7 @@ module Mongoid
|
|
155
155
|
|
156
156
|
while relation_parts.length > 0
|
157
157
|
item = if parent.is_a?(Mongoid::Criteria) || parent.is_a?(Array)
|
158
|
-
parent.where("
|
158
|
+
parent.where("\#{relation_parts.join('.')}._id" => id).first
|
159
159
|
else
|
160
160
|
parent
|
161
161
|
end
|