Module: ActiveInteractor::HasActiveModelErrors

Extended by:
ActiveSupport::Concern
Included in:
Context::Base, Result
Defined in:
lib/active_interactor/has_active_model_errors.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#read_attribute_for_validation(attribute_name) ⇒ Object



24
25
26
# File 'lib/active_interactor/has_active_model_errors.rb', line 24

def read_attribute_for_validation(attribute_name)
  send(attribute_name.to_sym)
end