This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
json.cache! model.cache_key do | |
json.(model, *%i(id name description created_at super_long_running_helper_method)) | |
json.foo foo # 'bar' | |
# ... | |
end |