We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e515974 commit dcbe4efCopy full SHA for dcbe4ef
lib/active_model/serializer/adapter/json_api.rb
@@ -157,10 +157,10 @@ def relationships_for(serializer, requested_associations)
157
include_tree = IncludeTree.from_include_args(requested_associations)
158
serializer.associations(include_tree).each_with_object({}) do |association, hash|
159
hash[association.key] = JsonApi::Association.new(serializer,
160
- association.serializer,
161
- association.options,
162
- association.links,
163
- association.meta)
+ association.serializer,
+ association.options,
+ association.links,
+ association.meta)
164
.as_json
165
end
166
0 commit comments