title: How to customize error messages in nested attributes?
body: <p>I'm trying to customize error messages. But the problem I have is that in nested attributes I get errors like <code>People email is invalid</code> or <code>People username can't be blank</code>, when all I wanted to say is <code>Email is invalid</code>. </p>
  
  <p>I'm trying to customize the error messages but I don't know how to do it with nested attributes.</p>
  
  <pre><code>en:
    activerecord:
      models:
        person: "Person"
      attributes:
        person:
          email: "Email address"
      errors:
        models:
          person:
            attributes:
              email:
                blank: "is a required field."
  </code></pre>