title: Testing value of each related model
body: <p>Does Ruby (or Rails) provide an easy way to accomplish the following:</p>
  
  <pre><code>if @author.articles.each(:published == true)
    puts "all articles of this author are published"
  end
  </code></pre>
  
  <p>I think the example speaks for itself.</p>