1json.cache! ['v2', user] do 2 json.id user.id 3 json.name user.name 4 json.createdAt user.created_at 5 json.updatedAt user.updated_at 6end