 <p>The result being a <code>Hash</code>, you can call <code>values</code> on it: </p> <pre><code>res = ActiveRecord::Base.connection.execute(q_cmd) res.values </code></pre> <p>This will give you just the values in an array!</p> <p>Reference documentation: <a href="http://www.ruby-doc.org/core-2.1.5/Hash.html#method-i-values" rel="nofollow"><code>Hash#values</code></a>.</p>