Class: Axn::Validation::Aggregate

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Validations
Defined in:
lib/axn/core/validation/base.rb

Overview

Carrier object for errors aggregated ACROSS validator instances (top-level + subfield + model consistency in one settled exception). ActiveModel::Errors renders full messages through its base's class (human_attribute_name), so the base must be an ActiveModel::Validations-bearing object — an action instance isn't one.

Class Method Summary collapse

Class Method Details

.nameObject



380
# File 'lib/axn/core/validation/base.rb', line 380

def self.name = "Axn::Validation::Aggregate"