diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-05-31 16:11:43 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-05-31 17:51:38 +0900 |
commit | c11109da934d71b1d0a139da36e52423844fa36e (patch) | |
tree | e4b733a72cae63606a6026247a10a9816fc22a93 /activerecord/test/cases/validations_repair_helper.rb | |
parent | 7c800fe5e338540ef195f071a7f3604ed4197f3f (diff) | |
download | rails-c11109da934d71b1d0a139da36e52423844fa36e.tar.gz rails-c11109da934d71b1d0a139da36e52423844fa36e.tar.bz2 rails-c11109da934d71b1d0a139da36e52423844fa36e.zip |
Fix `default_scoped` with defined `default_scope` on STI model
This regression is caused by d1249c1.
If STI model is defined `default_scope`, `base_rel` is not respected.
I fixed to merge `base_rel` in that case.
Diffstat (limited to 'activerecord/test/cases/validations_repair_helper.rb')
0 files changed, 0 insertions, 0 deletions