mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
159b21b59d
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.
35 lines
660 B
YAML
35 lines
660 B
YAML
david:
|
|
id: 1
|
|
name: David
|
|
balance: 50
|
|
address_street: Funny Street
|
|
address_city: Scary Town
|
|
address_country: Loony Land
|
|
gps_location: 35.544623640962634x-105.9309951055148
|
|
|
|
zaphod:
|
|
id: 2
|
|
name: Zaphod
|
|
balance: 62
|
|
address_street: Avenue Road
|
|
address_city: Hamlet Town
|
|
address_country: Nation Land
|
|
gps_location: NULL
|
|
|
|
barney:
|
|
id: 3
|
|
name: Barney Gumble
|
|
balance: 1
|
|
address_street: Quiet Road
|
|
address_city: Peaceful Town
|
|
address_country: Tranquil Land
|
|
gps_location: NULL
|
|
|
|
mary:
|
|
id: 4
|
|
name: Mary
|
|
balance: 1
|
|
address_street: Funny Street
|
|
address_city: Peaceful Town
|
|
address_country: Nation Land
|
|
gps_location: NULL
|