```ruby
@repository.product.productContent.find { |pc| pc.content.id == @repository.content_id }
```
bonus points for spaces around {}