New jquery_file_download-rails gem


In a mission to make my app’s file download more responsive, I had fun integrating John Culviner’s jquery.fileDownload.js script. John’s samples and setup instructions all target ASP .NET MVC while my app is a Rails 4 app. I thought it’d be a fun exercise to package this script up into a gem much like jquery-ui-rails packages up jQuery UI for Rails. I’ve named it jquery_file_download-rails and here are the relevant links:

The GitHub project also contains basic instructions for setting up the gem and the script within a Rails app.

I hope it’s useful to someone.

Related posts

user_impersonate2 tutorial
GitHub projects
Mercurial automatic forward porting script
Caching nil values with Dalli in Ruby on Rails
What this is for…


Ruby on Rails

Content © 2023 Richard Cook. All rights reserved.