diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-29 08:34:33 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-29 09:24:14 +0900 |
commit | 159b21b59dba120e58eeb8bff89b9d322e720c44 (patch) | |
tree | 4961855b5e5d01f0dd9332869f94539b81422caa /activerecord/lib/active_record/validations/uniqueness.rb | |
parent | 6b8c161fc2cabdadd33826d21f9bd099041b8069 (diff) | |
download | rails-159b21b59dba120e58eeb8bff89b9d322e720c44.tar.gz rails-159b21b59dba120e58eeb8bff89b9d322e720c44.tar.bz2 rails-159b21b59dba120e58eeb8bff89b9d322e720c44.zip |
Fix expanding an array of `composed_of` objects which have multiple mappings
Follow up of #31724.
If `composed_of` objects have multiple mappings, array predicate handler
can not correctly handle the expanded condition.
We need to handle it like polymorphic association objects.
Diffstat (limited to 'activerecord/lib/active_record/validations/uniqueness.rb')
0 files changed, 0 insertions, 0 deletions