DavyJonesLocker/client_side_validations
Client Side Validations made easy for Ruby on Rails observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 99
- Release rhythm 92
- 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: 0
- age_days: 5694
- days_rel: 59
- days_push: 9
- n_releases_24m: 6
Adoption not part of the score
2680 stars · 395 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Ruby gem and JavaScript package that automatically extracts ActiveModel validation rules from a Rails backend and applies them as client-side form validations. It renders validation errors identically to server-side rendering and supports custom validators, nested fields, and a plugin system for additional form builders and ORMs.
Use cases
- validate rails forms in the browser without page reloads
- reuse server-side activemodel validation rules on the client
- show inline form validation errors matching server-side rendering
- validate nested form fields client-side
- add client-side validation to a custom rails form builder
- avoid duplicating validation logic between backend and frontend
When to choose
- you have a Rails 7.2 or 8.x app with ActiveModel::Validations and want instant client-side feedback
- you want client-side errors to look identical to server-side validation errors
- you need support for nested fields and custom validations out of the box
- you want a jQuery-free, plugin-extensible validation solution
When to avoid
- you are not using Ruby on Rails or ActiveModel-based models
- your validations rely heavily on conditional callbacks like :if/:unless, which fall back to the server
- you use a frontend framework (React, Vue) with its own form validation ecosystem
- you need validations for non-Rails backends
Facets
library · maturity active
form-handling frontend-framework plugin-system web-development frontend developer-tools ruby browser ruby-on-rails client-side-validation activemodel form-validation gem javascript web-server
1 source
- readme: https://github.com/DavyJonesLocker/client_side_validations · fetched 2026-08-28 · 8479922d325f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| DavyJonesLocker/client_side_validations | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="DavyJonesLocker/client_side_validations")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem