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 319a907 commit fb7ec88Copy full SHA for fb7ec88
lib/active_model/serializer/adapter/json_api.rb
@@ -43,7 +43,7 @@ def serializable_hash(options = nil)
43
44
def fragment_cache(cached_hash, non_cached_hash)
45
root = false if @options.include?(:include)
46
- ActiveModel::Serializer::Adapter::JsonApi::FragmentCache.new().fragment_cache(root, cached_hash, non_cached_hash)
+ ActiveModel::Serializer::Adapter::JsonApi::FragmentCache.new.fragment_cache(root, cached_hash, non_cached_hash)
47
end
48
49
private
0 commit comments