Permalink
Browse files

Freshen up the README

  • Loading branch information...
1 parent 8d094c1 commit bac23521e0db0df459307fc248f6beb8b63992f1 @jeremy jeremy committed Aug 16, 2013
Showing with 9 additions and 12 deletions.
  1. +9 −12 README
View
21 README
@@ -1,20 +1,17 @@
-prototype-rails provides Prototype, Scriptaculous, and RJS for Rails 3.1.
+prototype-rails provides Prototype, Scriptaculous, and RJS on Rails 3.1
+and later.
-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:
+Prototype and Scriptaculous are pulled in by the asset pipeline, so you don't
+need to copy the source files into your app. You may reference them in your
+s 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.
-
+prototype-rails supports RJS debugging. RJS responses are wrapped to catch
+exceptions, alert() them, and re-raise the exception. Debugging is disabled by
+default. To enable in development, set `config.action_view.debug_rjs = true`
+in config/environments/development.rb.

0 comments on commit bac2352

Please sign in to comment.