-
20 June 2011
Today I’ve made two new releases: ClientSideValidations v3.1 for Rails 3.1 and a backport of ClientSideValidations for Rais 2
ClientSideValidations v3.1
ClientSideValidaitons for Rails 3.1 adds the javascript file to the asset pipeline. So you no longer need to run the install generator for each update. Just serve up rails.validaitons.js in your application.js file:
//= require rails.validations
And that’s it! Other updates:
- Rails 3.0 support will continue in the 3.1 version of ClientSideValidations. But for legacy support the 3-0-stable branch will also be maintained.
- Formtastic 2 support. If you want Formtastic 1.x support please use ClientSideValidations 3.0.x. Formtastic 2 is required when using Rails 3.1
ClientSideValidations-Rails2
This is a new gem that provides some validation reflection to ActiveRecord 2.x models. It will use the ClientSideValidations 3.0.x series gem.