addung fragment_cache method to Adapter::Json

This commit is contained in:
João Moura 2015-06-13 15:21:53 -03:00
parent 5932da64ef
commit c8fcb60a5d

View File

@ -39,10 +39,11 @@ module ActiveModel
{ root => @result }
end
end
def fragment_cache(cached_hash, non_cached_hash)
Json::FragmentCache.new().fragment_cache(cached_hash, non_cached_hash)
def fragment_cache(cached_hash, non_cached_hash)
Json::FragmentCache.new().fragment_cache(cached_hash, non_cached_hash)
end
end
end
end