Why Ruby on Rails uses Prototype.js by default?
It was a choice made about five years ago and was basically just a favorite JS DHH framework at the time. Rails 3 will make it easier to maintain commutation, but for rails 2, you can always just use http://github.com/aaronchi/jrails to swap in jQuery for a prototype.
UPDATE: as of rails 3.1 it will use jquery by default and the prototype will be available via gem.
a source to share
As Matt Briggs mentions, the prototype was the most modern 5 years ago.
TBH, it's been a very long time since I've been using the built-in javascript helpers. I am writing my apps using non-intrusive JS methods with jQuery, not the default. All you have to do is remove the default files and include any library you want in your layout.
Rails 3 changes this limitation, by the way, adding hooks for unobtrusive JS with any library.
a source to share
At the time of writing, Prototype was not just modern, it was a library. However, if you're just using javascript_tag
jQuery to query - it will work just fine, except for your rjs helpers. However, this is changing in Rails 3 thanks to the influence of Merb and in particular Yehuda Katz (one, but not the only one, of the main members of Rails 3 Core, Merb, and jQuery)
a source to share
It's very cool how the community is now managing the Rails infrastructure. After years of being a must-have JavaScript library, we finally have the freedom to choose our favorite front-end libraries and tools: Rails 5.1: Love JavaScript, ..
a source to share