Sha256: 6d699c68f51d803246fbae18ce6ee6c10d4b7e6386b876b1578730cd14a5be3d

Contents?: true

Size: 1.51 KB

Versions: 1

Compression:

Stored size: 1.51 KB

Contents

# jQuery File Upload for Rails

[jQuery File Upload][1] is a cross-browser javascript library for asynchronus Flash-free file uploading
by Sebastian Tschan (@blueimp). This gem packages it for the asset pipeline in Rails.

You should see the original project page for reference & documentation.
There are no instructions here on how to use the library itself.

## Usage

Add the following to your Gemfile.

    group :assets do
      gem 'jquery.fileupload-rails'
    end

Then you can require the javascript library in application.js:

    //= require jquery.fileupload

Included (no need to require):

* jQuery Iframe Transport for IE support.
* jQuery UI widget from [jquery-ui-rails][2]

## Upgrading 0.1 to 1.0

You can remove all dependencies of the plugin from you manifest. Before:

    //= require jquery.ui
    //= require jquery.iframe-transport
    //= require jquery.fileupload

After:

    //= require jquery.fileupload

If you downloaded jquery.ui assets into your project, delete them and use [jquery-ui-rails][2] gem instead.

## Changelog

1.0.0. Core 5.18.

Now rake task generates assets from official repo and adds dependencies automatically.
That means you can just require jquery.fileupload, no extra requires needed.

0.1.2. Fixed CSS that makes SASS 3.2 raise an error on rake assets:precompile

0.1.1. Core 5.11.2, UI 6.9.1, minor gemspec change.

0.1.0. Core 5.9.0,  UI 6.6.2, added readme.

0.0.1. Core 5.5.2,  UI 5.1.1.

[1]: https://github.com/blueimp/jQuery-File-Upload
[2]: https://github.com/joliss/jquery-ui-rails

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jquery.fileupload-rails-1.0.0 Readme.md