rails/jquery-ujs
Ruby on Rails unobtrusive scripting adapter for jQuery observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6060
- days_rel: n/a
- days_push: 819
- n_releases_24m: 0
Adoption not part of the score
2601 stars · 503 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small JavaScript library that adds unobtrusive scripting support to jQuery, driven by HTML data attributes. It enables confirmation dialogs, non-GET link requests, Ajax form/link submission, and automatic submit-button disabling, primarily for Ruby on Rails apps.
Use cases
- add confirm dialogs to destructive links in a Rails app
- submit forms via Ajax without writing custom JavaScript
- make hyperlinks issue POST/DELETE requests
- prevent double form submission by disabling submit buttons
- wire Rails remote forms with jQuery Ajax events
- add unobtrusive JS behavior to any backend via data attributes
When to choose
- you maintain a legacy Rails app using jQuery and Turbolinks-free UJS patterns
- you want Ajax forms and confirm dialogs with minimal JavaScript
- your stack already depends on jQuery 1.8+
When to avoid
- you use Rails with Turbo/Stimulus (rails-ujs is deprecated in favor of Turbo)
- you build a modern SPA without jQuery
- you need heavy client-side interactivity beyond simple Ajax enhancements
Facets
library · maturity maintenance
middleware form-handling http-client web-development frontend browser jquery unobtrusive-javascript ajax rails data-attributes nodejs
2 sources
- readme: https://github.com/rails/jquery-ujs · fetched 2026-08-28 · c5183b5730c9
- registry_npm: https://registry.npmjs.org/jquery-ujs · fetched 2026-08-29 · 60d16af3bc88
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rails/jquery-ujs | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="rails/jquery-ujs")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem