title: Get keys of activerecord
body: <p>I've got an active record to which I want to collect its keys in a seperate array</p>
  
  <p>So if my <code>@item.first</code> has</p>
  
  <pre><code>item.a = 1
  item.b = 2
  item.c = 3
  </code></pre>
  
  <p>I want to collect an array like <code>[a =&gt; 1, b =&gt; 2, c =&gt; 3]</code>.</p>
  
  <p>Is there a way to do this?</p>