```ruby
  def available_content
    self.productContent.find_all { |content| self.repositories.where(:content_id => content.content.id).any? }
  end
```