Aha, then I would 
```ruby
def content_views(reload = false)
  @content_views = nil if reload
  @content_views ||= ContentView.
      joins(:content_view_versions => :environments).
      where(:environment => { :id => self }).
      all
end
```
to eliminate the n-query problem.