• S
    Ensure hashes can be passed to attributes using `composed_of` · ff4986b9
    Sean Griffin 提交于
    This behavior was broken by 36e9be85. When the value is assigned
    directly, either through mass assignment or directly assigning a hash,
    the hash gets passed through to this writer method directly. While this
    is intended to handle certain cases, when an explicit converter has been
    provided, we should continue to use that instead. The positioning of the
    added guard caused the new behavior to override that case.
    
    Fixes #25210
    ff4986b9
customer.rb 2.1 KB