I am trying to integrate the following gem: https://rubygems.org/gems/jquery.fileupload-rails but it became a mission impossible. I am trying for last two days and it simply doesn't want to load jquery.fileupload-rails javascript.
I tried this tutorials:
railscasts.com/episodes/381-jquery-file-upload?view=asciicast 5minutenpause.com/blog/2013/09/04/multiple-file-upload-with-jquery-rails-4-and-paperclip/
This is my application.js:
//= require jquery
//= require jquery-ui
//= require jquery_ujs
//= jquery.fileupload/basic
//= require turbolinks
//= require_tree .
Gemfile.lock:
jquery-rails (3.1.2)
jquery-ui-rails (5.0.2)
jquery.fileupload-rails (1.11.0)
I have tried many combinations and it doesn't work. How to make it work?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.