```ruby
collection @countries
cache [I18n.locale, @countries]
extends "spree/api/countries/show"
```

Fix error with using AR object in cache key
user
```ruby
collection @countries
cache I18n.locale
extends "spree/api/countries/show"
```
assistant