Browse files

switch to prototype also modifies application.js [ci skip]

  • Loading branch information...
1 parent 02a4ef7 commit 065e02d04b8c249a02b63a4de8e798c950c40a94 Francesco Rodriguez committed Jun 20, 2012
Showing with 9 additions and 1 deletion.
  1. +9 −1 guides/source/ajax_on_rails.textile
10 guides/source/ajax_on_rails.textile
@@ -86,7 +86,15 @@ using +-j+ switch while generating the application.
rails new app_name -j prototype
-This will add the +prototype-rails+ gem to your Gemfile.
+This will add the +prototype-rails+ gem to the Gemfile and modify the
++app/assets/javascripts/application.js+ file:
+// ...
+//= require prototype
+//= require prototype_ujs
+// ...
You are ready to add some AJAX love to your Rails app!

0 comments on commit 065e02d

Please sign in to comment.