Ruby on Rails with Plupload

I am looking for an upload solution for Ruby on Rails where I can upload multiple large image files simultaneously and show the progress to the uploader so they know the files are being uploaded. I stumbled onto Plupload which seems perfect for what I'm trying to do, but I can't find any Ruby on Rails examples on how to incorporate into my application. Any leads, basic examples, or even alternative methods with better Rails documentation would be greatly appreciated.

Thanks for looking :)

Answers


I haven't any experience with Plupload. You can try uploadify or swfupload. Both allow to upload multiple files and whatever significant Plupload do and require Flash to be installed. In my opinion uploadify easier to implement than swfupload and it is very customizable.

Here is some examples:

  1. uploadify_paperclip_demo
  2. swfupload_demo

You can find more examples on github.com. And you need some file attachment plugin on back-end like paperclip or attachment-fu.

You can find some tips on image preview before form submitting here. And if you use nested forms, here is complex-form-examples. See the unobtrusive-jquery branch. You can add new child on onComplete event of uploadify.

I use uploadify with paperclip, preview and nested forms.

UPDATED.

Here are some examples how to use Plupload in RoR:

File Uploads with Rails 3, Plupload, and CarrierWave

Ruby on Rails + Paperclip + PlUpload


Need Your Help

Sails.js - One to Many mapping

javascript node.js mapping one-to-many sails.js

Is there any way to do relation mapping between models in Sails.js?

How deny access direct URL to my partial views?

asp.net asp.net-mvc-3 razor

I have some partial views in my controller. The problem is that users can visualize my partial views if they put in url: (www.mydomain.com/mycontroller/mypartialview). How can I deny direct access....