title: Ruby on rails save a specific field in database
body: <p>I have a table in my database which is house, that has many field like "colour", "price". How can I save only a specific field after updating</p>
  
  <p>if I have this,</p>
  
  <blockquote>
    <p>@house.colour = newcolour 
    <br>@house.save</p>
  </blockquote>
  
  <p>it will save all other field including house.colour, and house.price <br> (my case, price should be programmatically updated at the same time with the colour, but should not be saved. only house.colour should be saved in the database)</p>
  
  <p>i tried to do </p>
  
  <blockquote>
    <p>@house.colour = newcolour
    <br>
    @house.colour.save</p>
  </blockquote>
  
  <p>but it shows me error</p>
  
  <p>Is it possible only to save only the value of @house.colour ?</p>
  
  <p>Thank you for any suggestion</p>