The Rails jQuery gem allows the developer not only to use jQuery in their own scripts, but also includes fancy Rails helpers such as remote_form_for
to use jQuery for communication. Thus, not only does the gem provide a library, but it also provides Rails-specific bindings that would be a pain to code on one's own.
source share