Emits ActiveRecord validations into JSON format, to be used by the browser in rich-client apps
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
Gemfile
Gemfile.lock
LICENSE.txt
README.markdown
Rakefile
VERSION
ar-validations-json.gemspec

README.markdown

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.