3 ms·
Rails doesn't have it's own JS library. It initially used only the prototype library (which exists outside of Rails), but with Rails 3 any javascript supplied b
by ryanbrunner 16y ago
Rails doesn't have it's own JS library. It initially used only the prototype library (which exists outside of Rails), but with Rails 3 any javascript supplied by Rails was made library agnostic.
RJS is a rails specific thing, but it's more a method of generating javascript inside of rails than a JS library in it's own right.
This change simply changes the default from Prototype to JQuery - a long-overdue change IMO, since the vast majority of the Rails community has been using solely JQuery for quite a long while now.
Here's hoping that the same treatment is done to RSpec vs. TestUnit.
- vijaydev 16y agoDHH had already made it clear that RSpec will not get into Rails.
- deleted 16y ago[deleted]
- philcrissman 16y agoRspec doesn't really need to be in the default stack; switching to it takes what; a minute? That's not a benchmarked timestamp, but I'm just saying... :-)