title: Ruby on Rails: problem getting CKeditor to upload images
body: <p>When I pick a file and click "Send it to the Server"</p>
  
  <p>I get the error:</p>
  
  <pre><code>ActionController::InvalidAuthenticityToken in MediasController#new_from_disk
  
  Parameters:
  
  {"upload"=&gt;#&lt;File:/var/folders/Fr/FrWbhcV1HdGpFgn7Lh7OhU+++TI/-Tmp-/RackMultipart20100802-4884-olu0e5-0&gt;,
   "CKEditorFuncNum"=&gt;"42",
   "langCode"=&gt;"en",
   "CKEditor"=&gt;"object_content_body"}
  </code></pre>
  
  <p>from my understanding, the ckeditor uploader sends my ruby action the file, and I handle it then and there. So I don't need a view associated with my new_from_disk action (which currently doesn't do anything).  </p>
  
  <p>Here is the documentation for uploading / browsing stuff you already have uploaded.  None of it has helped me. <a href="http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_(Uploader)/Custom_File_Browser" rel="nofollow noreferrer">http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_(Uploader)/Custom_File_Browser</a></p>
  
  <p>any one have any hints / guides?</p>