2 Matching Annotations
  1. Feb 2021
    1. ActiveInteraction also supports merging errors. This is useful if you want to delegate validation to some other object. For example, if you have an interaction that updates a record, you might want that record to validate itself. By using the #merge! helper on errors, you can do exactly that.
    2. Inside #execute, we merge errors. This is a convenient way to move errors from one object to another.