File: VERSION_COMPATIBILITY.rdoc

package info (click to toggle)
ruby-remotipart 1.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 176 kB
  • sloc: ruby: 136; javascript: 136; makefile: 4
file content (38 lines) | stat: -rw-r--r-- 1,987 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
= 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' %>