4

Does anyone have a solution for this? Can you point me to one that is not http://railscasts.com/episodes/381-jquery-file-upload because it is outdated.

ahmet
  • 4,955
  • 11
  • 39
  • 64
Blake Geist
  • 287
  • 1
  • 4
  • 17

2 Answers2

2

Why cant you use paperclip?

if it is okay you can check these solutions:

Using paperclip normal method

Using javascript

Community
  • 1
  • 1
devudilip
  • 1,270
  • 14
  • 25
  • 3
    Paperclip works well with images that need to be associated with models. But what if you're not working with images and don't want file uploads to be persisted or associated with a model? Is there no easy way to handle that case? – chipit24 Feb 27 '16 at 15:17
1

Use jQuery-File-Upload

Using this gem

Here is an example project

ahmet
  • 4,955
  • 11
  • 39
  • 64
  • Thanks a lot, I have struggled through the http://railscasts.com/episodes/381-jquery-file-upload video and have gotton most of the functionality to work. The problem that I am having now is, after a successful image upload my partial that shows my photos gets loaded onto the page without removing/reloading the container for it. So I am seeing duplicates of photos after I upload them. Thanks for checking, please let me know if I can be more clear. – Blake Geist Oct 17 '13 at 18:36