jquery-fileupload-rails-paperclip-example
jquery-fileupload-rails-paperclip-example copied to clipboard
Way too much going on for an example
Thank you very much for taking your time to share this example.
The issue is it's way too complicated. There's too much going on in this example that has nothing to do with jquery fileupload or paperclip. There's all sorts of stuff that distracts from the example at hand.
Imagine if someone asked you how to bake an apple pie and you started describing how to create a universe.
As you can see by all the issues, it's better to keep an example simple with no extra fluff. An example should contain the bare minimum to get the point across.
Thank you again.
I began working on my own jquery-fileupload example implementation using Rails 4, Paperclip, and Simple Form after seeing that this one wasn't being maintaned. Here's the link:
https://github.com/nozpheratu/jquery-fileupload-rails-4
There's a tiny bit of create callback coffeescript running in the background to append images to the page after the form gets submitted, but other than that it's about as simple as it gets - perhaps too simple at the moment as there isn't any progress indicators or cancel buttons as seen in the demo application, but a pretty solid scaffolding to work off of. If you feel you can make it better feel free to open a pr.