= Version Compatibility

  +---------------------------------------------------------------------+
  | Version of remotipart.js | is compatible with versions of rails.js* |
  +---------------------------------------------------------------------+
  |        <= 0.3.1          |                      <= 498b35e24cdb14f2 |
  |           0.3.2          |  > 498b35e24cdb14f2, <= 7f2acc1811f62877 |
  |           0.3.3          |  > 7f2acc1811f62877, <= d2abd6f9df4e4a42 |
  |        >= 0.3.4          |  > d2abd6f9df4e4a42                      |  (current version of rails.js)
  +---------------------------------------------------------------------+

*rails.js versions <em>(For a full list of Rails.js]versions and diffs, see {Rails jQuery UJS Changelog}[https://github.com/rails/jquery-ujs/blob/master/CHANGELOG.md])</em>:
* {498b35e24cdb14f2}[https://github.com/rails/jquery-ujs/raw/498b35e24cdb14f2d94486e8a1f4a1f661091426/src/rails.js]
* {7f2acc1811f62877}[https://github.com/rails/jquery-ujs/raw/7f2acc1811f62877611e16451530728b5e13dbe7/src/rails.js]
* {d2abd6f9df4e4a42}[https://github.com/rails/jquery-ujs/raw/d2abd6f9df4e4a426c17c218b7d5e05004c768d0/src/rails.js]
* {current}[https://github.com/rails/jquery-ujs/raw/master/src/rails.js]

== Installation for Remotipart v0.3.x

<b>Prerequisite: Make sure you have a supported jquery-ujs (rails.js) version from the previous section.</b>

1. Install the Remotipart gem

   * Add this line to your GEMFILE (add the correct version from previous section if needed)

    gem 'remotipart'

   * And run

    bundle install

2. Run the Remotipart generator to add jquery.remotipart.js to public/javascripts/

    rails g remotipart

3. Add the Javascript files for jQuery, the Rails jQuery driver, jQuery Form plugin, and Remotipart to your template, making sure to include jquery.remotipart.js *after* jQuery and the Rails jQuery driver

    <%= javascript_include_tag 'jquery-1.4.4.min', 'rails', 'jquery.form', 'jquery.remotipart' %>
