```ruby
json.cache! @project, expires_in: 10.minutes do
  json.partial! 'project', project: project
end
```

Fix cache bug in project JSON output
user
```ruby
json.cache! @project, expires_in: 10.minutes do
  json.partial! 'project', project: @project
end
```
assistant