title: ActionController::InvalidAuthenticityToken while uploading in rails 3.0.3
body: <p>I am using Ruby 1.8.7 and Rails 3.0.3.</p>
  <p>When I upload a file I get following error:</p>
  <pre><code>ActionController::InvalidAuthenticityToken
  </code></pre>
  <p>I tried adding followings to my model file:</p>
  <ol>
  <li><p><code>protect_from_forgery :only =&gt; [:create, :update, :destroy]</code></p>
  </li>
  <li><p><code>skip_before_filter :verify_authenticity_token</code></p>
  <p>How to solve it?</p>
  </li>
  </ol>