Added support for ActiveRecord::Validations