Edit: how can i have Jquery and Prototype run side by said in my rails 3 application? what should my application.html.erb code look like?
Note: After doing this, you will not be able to access any jQuery methods using
$(...). Instead, you'll need to use
However, if you don't need Prototype, delete your
prototype.js file and install the proper jQuery-specific
rails.js file (the one that Rails uses by default is Prototype-specific). See https://github.com/rails/jquery-ujs for instructions.