forest_liana 2.4.5 → 2.4.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67744b11ba6b03eef1a9526281cf5ebe3667b73d
|
4
|
+
data.tar.gz: 9476171b11ab3c5f63ff4e88d04c5f52a02efb6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 912fe36914bcac1d5021bf4dba4358263d93850c8d30fd1e8c0eeb70e56b57c3c7469e046253eaa28cbf3c200b417870626128bde43bd51c0c38cdb099b65831
|
7
|
+
data.tar.gz: c9e4aca11b2b0d27590aac220d5910930fde6795fefcf87c97597fa98a58f9ccc56df800aeb51aa778b866579ccf7a70653dd3b79bf66f78f89df76b6a7a3e4c
|
@@ -105,7 +105,8 @@ module ForestLiana
|
|
105
105
|
records = getter.records.map { |record| get_record(record) }
|
106
106
|
|
107
107
|
if getter.includes.length > 0
|
108
|
-
|
108
|
+
association_name = ForestLiana.name_for(@association.klass)
|
109
|
+
fields_to_serialize[association_name] += ",#{getter.includes.join(',')}"
|
109
110
|
end
|
110
111
|
|
111
112
|
json = serialize_models(
|
data/lib/forest_liana/version.rb
CHANGED