apicasso 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/apicasso/crud_controller.rb +1 -1
- data/lib/apicasso/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: d9eab0692116c8e9b6d81f00ae6012ac0125d06e
|
|
4
|
+
data.tar.gz: d9fbca376a48478b49055e43b5c0b2a51e59893f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aed068877154de286f451f0f41d7049d79421af273873ade2544329287cd8727b2e949415cebdcff6d354b76965cdfb205ad2983845cbecee686f7786541437c
|
|
7
|
+
data.tar.gz: fa8bc7de5e9000216473ceeddc07d4a9ad89ed1d94a470507416a41d8ef1880c728570d224ee09c9e2a695600fa6d559faf17e92c6be50d40eb4288983d8070c
|
|
@@ -182,7 +182,7 @@ module Apicasso
|
|
|
182
182
|
# Parsed JSON to be used as response payload, with included relations
|
|
183
183
|
def include_relations
|
|
184
184
|
@records = JSON.parse(included_collection.to_json(include: parsed_include))
|
|
185
|
-
rescue ActiveRecord::AssociationNotFoundError
|
|
185
|
+
rescue ActiveRecord::AssociationNotFoundError, ActiveRecord::ConfigurationError
|
|
186
186
|
@records = JSON.parse(@records.to_json(include: parsed_include))
|
|
187
187
|
end
|
|
188
188
|
|
data/lib/apicasso/version.rb
CHANGED