title: update_attribute vs update_attributes Rails 4
body: <p>I am trying to update attributes of an object after a certain action.  If I use update_attribute everything saves correctly to the db but I have many things I need updated so it gets very repetitive.  </p>
  
  <p>This works fine:</p>
  
  <pre><code>order.update_attribute(:order_completed, "true")
  order.update_attribute(:stripe_email, params[:stripeEmail])
  </code></pre>
  
  <p>However when I try to use update_attributes my data does not save to the db.</p>
  
  <p>Here is that code:</p>
  
  <pre><code>order.update_attributes(order_completed: "true", stripe_email: params[:stripeEmail])
  </code></pre>
  
  <p>Does anyone see where my mistake is?  From everything I've read that should have worked.  Thanks for your help!</p>