Why is there a jQuery gem for rails 3.1?

Why is there a jQuery gem for rails 3.1? Seems easier to simply put the single minified file in the javascripts assets folder. Is it for code organization? (All prerequisites in the Gemfile). Is there something I'm missing?

Thanks so much!


The Rails jQuery gem allows the developer to not only use jQuery in their own scripts, but also hooks up fancy Rails helpers like remote_form_for to use jQuery for communication. So, not only does the gem provide the library, but it also provides Rails-specific hooks that would be a pain to code on one's own.

Need Your Help

Converting a Javascript JSON.stringfy string to an object using c# JSON.NET

c# json windows-8 json.net

I am developing a windows 8 app, and i have some javascript that stores a serialized object into roaming settings, i.e:

Setting a dateformat in struts2 tag using application aware


The requirement is that the admin will select the date format from the list say

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.