title: How do I print out the contents of an object in Rails for easy debugging?
body: <p>I think I'm trying to get the PHP equivalent of <code>print_r()</code> (print human-readable); at present the raw output is:</p>
  
  <pre><code>ActiveRecord::Relation:0x10355d1c0
  </code></pre>
  
  <p>What should I do?</p>