Skip to content

fhwang/ar-validations-json

Repository files navigation

ar-validations-json

A library that serializes ActiveRecord validations into JSON, to be used by rich-client apps in helping them do some validation work before trying to send data to the Rails server.

The goal is to keep validation logic in one place -- the server -- while also allowing clients to know about that validation logic and use it for better user feedback and fewer wasted HTTP requests.

About

Emits ActiveRecord validations into JSON format, to be used by the browser in rich-client apps

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages