title: update query with where clause
body: <p>very simple question - I want to update one record only that matches 2 parameters.</p>
  
  <p>Should I be doing it like this:</p>
  
  <pre><code>Model.where(:email =&gt;"test@test.com",:code =&gt; "chejd").update(:password =&gt; "password").first
  </code></pre>
  
  <p>I have found examples using update_all but I only want to update a maximum of 1 record. </p>