diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-14 06:50:25 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-14 06:50:25 +0900 |
commit | e9c16536d462503abd37e0ce5c34032fc1e39fdb (patch) | |
tree | f80b87f436a9736fd0d215f73573c8dcef794478 /activerecord/test/cases/schema_loading_test.rb | |
parent | 0c743885baba1681ad43376f6444b52a306fdfd9 (diff) | |
download | rails-e9c16536d462503abd37e0ce5c34032fc1e39fdb.tar.gz rails-e9c16536d462503abd37e0ce5c34032fc1e39fdb.tar.bz2 rails-e9c16536d462503abd37e0ce5c34032fc1e39fdb.zip |
Don't pass garbage args to alias tracker
This is a complete fix to #30995.
Originally alias tracker will only track table aliases on
`Arel::Nodes::Join`, other args are ignored.
Since c5ab6e5, parent aliases hash will be passed then it caused the
regression #30995.
It is enough to pass list of `Arel::Nodes::Join` simply, not need to
pass garbage args which will be ignored.
Diffstat (limited to 'activerecord/test/cases/schema_loading_test.rb')
0 files changed, 0 insertions, 0 deletions