title: Is there some Ruby on Rails method to convert a model object into a HASH structure?
body: <p>I have a model User</p>
  
  <pre><code>u=User.find(1)
  </code></pre>
  
  <p>How do I get <code>u</code> instance converted into a hash? Is there some built-in method to do this?</p>