diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2016-01-14 13:31:02 -0700 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2016-01-14 13:31:10 -0700 |
commit | b7cce1c0a92ef88341137290eefd19ef688c175b (patch) | |
tree | b4aa98fa9f27078acb0d6548ec24d0cf69229c83 /activerecord/test/cases/unconnected_test.rb | |
parent | 5854de38859fd770702c41747576d5c86c82d4b9 (diff) | |
download | rails-b7cce1c0a92ef88341137290eefd19ef688c175b.tar.gz rails-b7cce1c0a92ef88341137290eefd19ef688c175b.tar.bz2 rails-b7cce1c0a92ef88341137290eefd19ef688c175b.zip |
Ensure enum scopes work properly with STI and inheritance
The code was changed to call `where` on a specific class in 813c8c07,
but no reasoning was given and I can't see any good reason why we would
need to do that. This will ensure that the method is called on whatever
class the scope is called on.
Fixes #23013
Diffstat (limited to 'activerecord/test/cases/unconnected_test.rb')
0 files changed, 0 insertions, 0 deletions