Skip to content

Commit

Permalink
Remove unnecessary parentheses accidentally reintroduced in rails-api…
Browse files Browse the repository at this point in the history
  • Loading branch information
beauby committed Sep 14, 2015
1 parent 319a907 commit fb7ec88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_model/serializer/adapter/json_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def serializable_hash(options = nil)

def fragment_cache(cached_hash, non_cached_hash)
root = false if @options.include?(:include)
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)
end

private
Expand Down

0 comments on commit fb7ec88

Please sign in to comment.