A summary of data about the Ruby ecosystem.

https://github.com/rails/jquery-rails

A gem to automate using jQuery with Rails
https://github.com/rails/jquery-rails

Keywords from Contributors

activerecord activejob mvc rubygems rack devise rspec crash-reporting sinatra ruby-gem

Last synced: about 9 hours ago
JSON representation

Repository metadata

A gem to automate using jQuery with Rails

README.md

jquery-rails

jQuery! For Rails! So great.

This gem provides:

  • jQuery 1, 2 and 3
  • the jQuery UJS adapter
  • assert_select_jquery to test jQuery responses in Ruby tests

Versions

Starting with v2.1, the jquery-rails gem follows these version guidelines
to provide more control over your app's jQuery version from your Gemfile:

patch version bump = updates to jquery-ujs, jquery-rails, and patch-level updates to jQuery
minor version bump = minor-level updates to jQuery
major version bump = major-level updates to jQuery and updates to Rails which may be backwards-incompatible

See VERSIONS.md to see which versions of jquery-rails bundle which
versions of jQuery.

Installation

Add

gem 'jquery-rails'

to your Gemfile.

The jquery and jquery-ujs files will be added to the asset pipeline and available for you to use. If they're not already in app/assets/javascripts/application.js by default, add these lines:

//= require jquery
//= require jquery_ujs

If you are running Rails 5.1 and up, and if you have included //= require rails-ujs, then jquery_ujs is not needed anymore. You can just add:

//= require jquery

If you want to use jQuery 2, you can require jquery2 instead:

//= require jquery2
//= require jquery_ujs

And if you want to use jQuery 3, you can require jquery3:

//= require jquery3
//= require jquery_ujs

For jQuery UI, we recommend the jquery-ui-rails gem, as it includes the jquery-ui css and allows easier customization.

As of v3.0, jquery-rails no longer includes jQuery UI. Use the
jquery-ui-rails gem above.

Contributing to jquery-rails

jquery-rails is work of many contributors. You're encouraged to submit pull requests, propose
features and discuss issues.

  • If it's an issue pertaining to the jquery-ujs javascript, please report it to the jquery-ujs project.

  • If the jQuery scripts are outdated (i.e. maybe a new version of jquery was released yesterday), feel free to open an issue and prod us to get that thing updated. However, for security reasons, we won't be accepting pull requests with updated jQuery scripts.

See CONTRIBUTING.

License

jquery-rails is released under the MIT License.

Acknowledgements

Many thanks are due to all of the jquery-rails contributors. Special thanks to JangoSteve for tirelessly answering questions and accepting patches, and the Rails Core Team for making jquery-rails an official part of Rails 3.1.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 7 days ago

Total Commits: 372
Total Committers: 77
Avg Commits per committer: 4.831
Development Distribution Score (DDS): 0.745

Commits in past year: 2
Committers in past year: 1
Avg Commits per committer in past year: 2.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Andre Arko a****e@a****t 95
Steve Schwartz s****e@a****m 94
Rafael Mendonça França r****a@g****m 30
Carlos Antonio da Silva c****a@g****m 15
Lucas Mazza l****a@g****m 14
Rafael Mendonça França r****a@p****r 10
Rob Cameron c****n@g****m 10
Akira Matsuda r****e@d****p 9
Godfrey Chan g****c@g****m 6
Vladislav Petrov v****v@a****m 4
robertomiranda r****r@g****m 3
Juan Pazmino j****o@o****m 3
Ben Atkins b****s@f****m 3
Gabe da Silveira g****e@w****m 3
Jo Liss j****2@g****m 3
José Valim j****m@g****m 3
Robert Djurasaj r****j@g****m 2
Patrik Bóna p****a@m****k 2
Guillermo Iguaran g****n@g****m 2
Fudoshiki f****i@g****m 2
Franco Catena f****a@g****m 2
Nicolas Leger n****r@n****m 2
Rodrigo Rosenfeld Rosas r****s@g****m 1
Alex Pardoe d****e@g****m 1
Andrew Haines a****w@f****m 1
Andrey A.I. Sitnik a****y@s****u 1
Ben Morse s****e@g****m 1
Ben Pickles s****g@g****m 1
Benjamin Quorning b****n@q****t 1
Chris Kim c****m@g****m 1
and 47 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 19 days ago

Total issues: 59
Total pull requests: 49
Average time to close issues: 3 months
Average time to close pull requests: about 2 months
Total issue authors: 54
Total pull request authors: 43
Average comments per issue: 2.41
Average comments per pull request: 1.94
Merged pull request: 24
Bot issues: 0
Bot pull requests: 0

Past year issues: 1
Past year pull requests: 1
Past year average time to close issues: N/A
Past year average time to close pull requests: 9 minutes
Past year issue authors: 1
Past year pull request authors: 1
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.0
Past year merged pull request: 1
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/rails/jquery-rails

Top Issue Authors

  • Sega100500 (5)
  • ritikesh (2)
  • Seventhstar (1)
  • pandamouse (1)
  • lafeber (1)
  • burtondav (1)
  • kirykr (1)
  • hww (1)
  • hariyerramsetty (1)
  • sithara (1)
  • tricknotes (1)
  • dennisvandehoef (1)
  • edjarris (1)
  • jonleighton (1)
  • abstracthat (1)

Top Pull Request Authors

  • juank-pa (4)
  • udaykadaboina (2)
  • nicolasleger (2)
  • msathieu (2)
  • kaspth (1)
  • andrewhaines (1)
  • JamesChevalier (1)
  • cannikin (1)
  • aditya-kapoor (1)
  • amalrik (1)
  • dessita (1)
  • roggervalf (1)
  • ScottGrimmett (1)
  • the-rails-coach (1)
  • repinel (1)

Top Issue Labels

Top Pull Request Labels


Package metadata

gem.coop: jquery-rails

This gem provides jQuery and the jQuery-ujs driver for your Rails 4+ application.

rubygems.org: jquery-rails

This gem provides jQuery and the jQuery-ujs driver for your Rails 4+ application.

gem.coop: jquery-knob-rails

This gem provides the jQuery Knob plugin for your Rails 4+ application.

  • Homepage: https://github.com/rails/jquery-rails
  • Documentation: http://www.rubydoc.info/gems/jquery-knob-rails/
  • Licenses: MIT
  • Latest release: 1.2.13 (published almost 9 years ago)
  • Last Synced: 2025-12-07T18:02:45.738Z (4 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 61,672 Total
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 4.206%
    • Downloads: 12.619%
  • Maintainers (1)
proxy.golang.org: github.com/rails/jquery-rails

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/rails/jquery-rails#section-documentation
  • Licenses: mit
  • Latest release: v4.6.1+incompatible (published about 2 months ago)
  • Last Synced: 2025-12-07T18:02:47.368Z (4 days ago)
  • Versions: 74
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Forks count: 1.421%
    • Stargazers count: 2.076%
    • Average: 5.969%
    • Dependent packages count: 9.576%
    • Dependent repos count: 10.802%
rubygems.org: jquery-knob-rails

This gem provides the jQuery Knob plugin for your Rails 4+ application.

  • Homepage: https://github.com/rails/jquery-rails
  • Documentation: http://www.rubydoc.info/gems/jquery-knob-rails/
  • Licenses: MIT
  • Latest release: 1.2.13 (published almost 9 years ago)
  • Last Synced: 2025-12-07T18:02:45.821Z (4 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 5
  • Downloads: 61,672 Total
  • Rankings:
    • Forks count: 1.266%
    • Stargazers count: 1.904%
    • Average: 8.109%
    • Dependent repos count: 9.912%
    • Downloads: 11.886%
    • Dependent packages count: 15.579%
  • Maintainers (1)
gem.coop: wj-jquery-rails

This gem provides jQuery and the jQuery-ujs driver for your Rails 4+ application.

  • Homepage: https://github.com/rails/jquery-rails
  • Documentation: http://www.rubydoc.info/gems/wj-jquery-rails/
  • Licenses: MIT
  • Latest release: 4.2.2.1 (published almost 8 years ago)
  • Last Synced: 2025-12-07T18:02:45.437Z (4 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 2,663 Total
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Forks count: 1.418%
    • Stargazers count: 2.035%
    • Average: 18.768%
    • Downloads: 90.388%
  • Maintainers (1)
rubygems.org: wj-jquery-rails

This gem provides jQuery and the jQuery-ujs driver for your Rails 4+ application.

  • Homepage: https://github.com/rails/jquery-rails
  • Documentation: http://www.rubydoc.info/gems/wj-jquery-rails/
  • Licenses: MIT
  • Latest release: 4.2.2.1 (published almost 8 years ago)
  • Last Synced: 2025-12-07T18:02:45.433Z (4 days ago)
  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 2,663 Total
  • Rankings:
    • Forks count: 1.266%
    • Stargazers count: 1.904%
    • Dependent packages count: 7.656%
    • Dependent repos count: 21.795%
    • Average: 25.102%
    • Downloads: 92.889%
  • Maintainers (1)

Dependencies

Gemfile rubygems
  • mime-types < 3 development
  • json ~> 1.8.0
  • json >= 2
  • nokogiri ~> 1.6.0
  • nokogiri >= 0
  • rack >= 0
  • rack ~> 1.6
  • rails >= 0
  • rails ~> 4.2.0
jquery-rails.gemspec rubygems
  • rails-dom-testing >= 1, < 3
  • railties >= 4.2.0
  • thor >= 0.14, < 2.0

Score: 31.674578950956587