title: Rails ActiveRecord update_attributes problems
body: <p>I am trying to run the update_attributes for a particular object, but everytime I try to run my script, I get the following error: <code>TypeError (can't convert String into Integer):</code></p>
  
  <p>Here is the code I am working with</p>
  
  <pre><code>media = Media.find(params[:media_id])
  media.update_attributes({:started_encode =&gt; false, :encode_success =&gt; false, :akamai =&gt; false})
  </code></pre>
  
  <p>Any idea why this keeps throwing that error?</p>