Drag and drop functionality using Dropzone JS with Rails 4.Dropzone JS provide many options. You can explore it more http://www.dropzonejs.com/ . I have only allowed image type of files but you can configure and try with different type of files.
v1
- Ruby-2.1.0
- Rails 4.0.4
- Dropzone.js v3.10.2
git clone [email protected]:fahim-patel/dropzone_js_with_rails_4.git
Please configure gitignored file like database.yml etc.
rake db:create
rake db:migrate
Setup done.Hit homes/index page and start uploading.
MIT
Free Software!