title: logger.debug ["This is", "an", "Array"] Rails
body: <p>Why is my output of </p>
  
  <pre><code>logger.debug ["This is", "an", "Array"]
  </code></pre>
  
  <p>This isanArray</p>
  
  <p>and not something like
  ["This is", "an", "Array"]</p>
  
  <p>Is there a way to do this? (I know I could do to_yaml, but that is too verbose for me)</p>
  
  <p>What are some options for a nice clean output of an array, similar to print_r in php?</p>