CarrierWave + rails 4.2 + jquery file upload + progress bar - ruby-on-rails

I do not found any tutorial for Rails 4, jQuery File Upload + Progress Bar. Someone can i help me?
I need to upload a file(.xml), store it in my disc and show to the user the progress bar. How can i do it?
I'm trying do it since last week. :[

Related

Cloudinary + Active Text - image

Having problems with my RoR app :(
Using Rails + cloudinary + active text for my blog !
When I upload attachement with a submit button, everything work good.
But when i drag and drop a image, it does not load :
image
a grey bar appears on the image
I installed mini magic and co, but nothing change
Error :
error in console
Any suggestion ?

How to show file from database with format .pptx or .pdf on website in Ruby on Rails

I have a problem about show file with format .pptx or .pdf on website. When admin upload file with format .pptx, then save to database and I want display it on home page as a slide.
Example: My file powerpoint have 10 page, then I want show each page as a slide.
My current solution convert it to image but it is not feasible.
If you have other solutions or have library support this problem, could you help me? Thank you

AS 3 Adding multiple .swf files

I am a beginner to Action Script, I need to add multiple .swf files and a progress bar that shd display the progress when each file is displayed..
pls help me with coding in ActionScript 3.0 ,Flash Professional 5.5..
Thanks in Advance!!!!
These links should help you:
Link 1- multiple swfs
Link2 - SO
Link3 - Progress Bar

Rails app vs video player

not so long ago began using reils and i have one question arose with the loading and processing of video ...
is there something like carrierwave for video ?
user upload video to the file public/video
and in the DB created file with uploaded file name
and after that in a view ve create a video tag
there is something like this?
You might benefit from Nick DeSteffen's blog post on Uploadify + CarrierWave + Zencoder + Video.js

Prawn: PDF generation with progress bar or spinner

I'm using prawn and prawnto for PDF-generation in my rails-app. Is there a way to show the user a spinner or progress bar while the PDF is generated?? I think about showing a spinner-div in the document with the "generate-pdf-link" when starting the pdf-action and then removing it when the rendering finished (everything e.g. with jquery). How can I trigger that??
Thanks for your help!
Instead of generating the PDF immediately, you could display a result page with a spinner, and generate the pdf in a background job. I recommend the Gems DelayedJob or Resque for creating background jobs, placing them on multiple queues, and processing them later. There are good Railscasts for both. You can use a jQuery Timer plugin to check periodically if the PDF has been generated.

Resources