diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-11-06 08:29:40 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-06 08:29:40 +0900 |
commit | ffc1ed9bd54f3cf746f7ddf798e000fc025edef6 (patch) | |
tree | 899877d845bcc4a6d0cd0c3b73070801205faa16 /actioncable | |
parent | e0bef22665f93e88f6b2f3ac6bd55543ed0d6343 (diff) | |
download | rails-ffc1ed9bd54f3cf746f7ddf798e000fc025edef6.tar.gz rails-ffc1ed9bd54f3cf746f7ddf798e000fc025edef6.tar.bz2 rails-ffc1ed9bd54f3cf746f7ddf798e000fc025edef6.zip |
`scoping` should respect current class and STI constraint (#29199)
A relation includes `klass`, so it can not be used as it is if current
class is different from `current_scope.klass`. It should be created new
relation by current class to respect the klass and STI constraint.
Fixes #17603.
Fixes #23576.
Diffstat (limited to 'actioncable')
0 files changed, 0 insertions, 0 deletions