panicbus/scenic_49 — pull request #1 by cweilemann (2014-02-23 20:17:43+00:00)
Title: initial commit for fixing paperclip via AJAX

Hey Nico,

Check this out - this should get you started.

It seems to fail on uploading an image with a 406, but I believe this is because of the time needed to upload the file to S3. It works beautifully without an image.

I've used this before to process Paperclip uploads asynchronously in the background: https://github.com/jrgifford/delayed_paperclip/

It requires Resque or Sidekiq, but both are pretty straight forward to set up. Plus, having background workers can add some extra benefit for speeding up your app.

Let me know if you have questions!

CW