title: Using Plucked Values in Ruby on Rails
body: <p>Given a model named Album, I want to use the values I pluck. For starters, I want to try to print the values. How can I do this? Here is my current code:</p>
  
  <pre><code>my_arr = Album.where(title: "Greatest Hits", artist: "The Beatles").pluck(:publisher, :year_published)
  
  puts my_arr[0][0].to_a
  </code></pre>
  
  <p>To make things even simpler, how would I retrieve any value at all, so that I could place it into a normal variable?</p>
  
  <p>I'm using Rails 4 with SQLite3.</p>