stream_rails 2.6.2 → 2.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stream_rails/enrich.rb +1 -1
- data/lib/stream_rails/version.rb +1 -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: 5d0a379f76089c58915b3ebc1edac5f0a4449e252777657416730afc6a038ff1
|
4
|
+
data.tar.gz: 49159519ecb2e0cf64f7d560a137b7dcbc4763fcf695d427e1ef54c7575b8a8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b76d7f2897420acb577de00e7d357093eabadf79af44aaddc3f0a2605104592e5f8c1b9f392146831c5ec7399aaf34ce881092e5f66364dadb5a015eec8a6ba
|
7
|
+
data.tar.gz: 1f91b9f0c3bfb95f5023073fd9e29356abca322a8914a06e1ae6ad5b0bb269d39c8db29624f00acec21bde1027263bae5a91e20616fcc1d4d614174fd2b16b08
|
data/lib/stream_rails/enrich.rb
CHANGED
@@ -83,7 +83,7 @@ module StreamRails
|
|
83
83
|
end
|
84
84
|
|
85
85
|
def retrieve_objects(references)
|
86
|
-
Hash[references.map { |model, ids| [model, Hash[model.classify.constantize.where(
|
86
|
+
Hash[references.map { |model, ids| [model, Hash[model.classify.constantize.where(model.classify.constantize.primary_key => ids.keys).map { |i| [i.id.to_s, i] }]] }]
|
87
87
|
end
|
88
88
|
|
89
89
|
def inject_objects(activities, objects)
|
data/lib/stream_rails/version.rb
CHANGED