Ruby Rails: Rails Web-Framework Eliminate jQuery

Creators of Ruby on Rails, the Web development framework that has been around for more than 12 years from now, have detached the popular jQuery JavaScript library from the default Rails stack in errand of a Ruby gem thereby using vanilla JavaScript.

Thus, jQuery is not a Rails dependence anymore. The gem, rails-ujs, was generated by a developer named “Dangyi Liu” as part of the “Google Summer Code event.”

Rails founder “David Heinemeier Hansson” said that jQuery simply is not as acute for Rails as it was used to be. “JQuery was used to flag over the differences in browsers that no longer exist as the same degree any more,” he noted. “Rails-ujs, just use regular JavaScript for a built-in feature in Rails we have that rely on JavaScript.”

Rails has numerous features, like data confirmation (which requests users to confirm an action before completing it), that use JavaScript under the hood. A pull request has been filed in GitHub to eradicate jquery-rails from new applications and deliver rails-ujs through Action View.

For many years from now, jQuery has been an essential part of the web, handling tasks such as manipulation, document traversal, HTML, and event. Presently it’s used by 96.4 percent of websites whose library can be identified, rendering to W3techs, which surveys the practice of web technologies.

Rays, meanwhile, have been seen as having lost its value itself in favor of technologies such as Node.js. and Angular.js. The current release is Rails