title: Can Rails ActiveRecord #save method be used to update an existing record?
body: <p>Can the <code>#save</code> method be used to update a record?</p>
  
  <p>I know that I can <em>create</em> a new record using save, like this:</p>
  
  <pre><code>person = Person.new 
  person.save # rails will insert the new record into the database.
  </code></pre>
  
  <p>However, if I find an existing record first, modify the model, and then save it, is this the same result as performing a update?</p>
  
  <pre><code>person = Person.find(:first, :condition =&gt; "id = 1") 
  person.name = "my_new_name" 
  person.save # is this save performing a update or insert?
  </code></pre>