Skip to content

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

License

Notifications You must be signed in to change notification settings

fhwang/ar-validations-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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