Multiple sets of independent validations with validation_scopes
I cooked up ValidationScopes to expose the full power of ActiveRecord validations to more than one set of errors. Useful if you want to display different sets of errors in different contexts and still be able to save the object regardless of the additional validation sets’ state. It is about as loosely coupled as possible to ActiveRecord::Validations which means you can expect a smooth transition to Rails 3.
Post a comment