rom-rb / rom

Data mapping and persistence toolkit for Ruby
https://rom-rb.org
MIT License
2.07k stars 161 forks source link

[core] fix Relation::Name equality #563

Closed solnic closed 4 years ago

solnic commented 4 years ago

Previously equalizing relation names would skip checking key attribute, which is used when a relation is aliased. This is common when using associations with custom names, in such cases a relation is aliased.

Refs #562