module Themis::AR::BaseExtension
Extends ActiveRecord::Base to make it support has_validation and use_validation methods. It adds some class attributes to model:
-
themis_validation - name of validation, symbol or nil
-
themis_validation_sets - hash where key is symbol(validation name) and value is {ValidationSet}.
-
themis_default_validation - name of default validation.
-
themis_default_nested - default value for :nested option