title: Iterate over Array of Objects and Return Attributes
body: <p>I am trying to return a list of titles of objects in Rails, however I keep getting the entire object returned instead of the title attribute.</p>
  
  <p>loe is the object which has an attribute which is a list of articles (named article), each article is itself an object with an attribute called title.</p>
  
  <pre><code>&lt;%= loe.article.each { |x| print x.title } %&gt;
  </code></pre>
  
  <p>is how I am currently attempting to do the iteration, but this returns the entire list of articles.</p>