forked from jlsync/jquery-rjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
29 lines (18 loc) · 864 Bytes
/
README
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
+++++++++++++++++++++
jquery-rjs merge for rails 3.2.2
add ActionView::Base.debug_rjs = true to your app/controllers/application_controller.rb
add // = require jquery-ui to your app/assets/javascripts/application.js
+++++++++++++++++++++
prototype-rails provides Prototype, Scriptaculous, and RJS for Rails 3.1.
Prototype and Scriptaculous are provided via the asset pipeline and you
do *not* need to copy their files into your application. Rails will get
them from prototype-rails automatically.
You may want to add them to your app/assets/javascripts/application.js:
//= require prototype
//= require prototype_ujs
//= require effects
//= require dragdrop
//= require controls
New applications using this may also want to add
config.action_view.debug_rjs = true
to their config/environments/development.rb.