For a long time, Rails was shipped with the
Rails has the concept of view helpers—these are Ruby methods that can be used in views to abstract away common HTML constructs. Many of the view helpers that deal with client-side code and AJAX were built on top of these two frameworks, and thus they were completely baked in the framework without an easy way of using alternatives.
Prototype.js shares many of the same ideas and goals as jQuery, but over time, jQuery has grown to be perceived as a more elegant and powerful library by many programmers.
As jQuery became more popular, many developers in the Rails community started experimenting by ...