app/domain/validators/survivor_validator.rb
# The most important thing to use validator as a separated class
The most important thing to use validator as a separated class
The most important thing to use validator as a separated class
def validate(survivor)
    __setobj__(survivor)
    super
    survivor.errors.messages.merge!(errors.messages)
  end
def validate ( survivor ) __setobj__ ( survivor ) super survivor . errors . messages . merge! ( errors . messages ) end
The most important thing to use validator as a separated class
The most important thing to use validator as a separated class
survivor
<not_specific>