1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/fixtures/customers.yml
Ryuta Kamizono 159b21b59d 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.
2018-01-29 09:24:14 +09:00

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