title: How to access attributes from inside a model
body: <p>I have a model named item that has a column named price. I assumed that price would be stored as an instance variable inside item but the method </p>
  
  <pre><code>def price
    @price
  end
  </code></pre>
  
  <p>Returns nothing. So my question is how can I access and override the value price pulled from the database from inside my model.</p>