diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-04-06 12:00:17 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-04-06 12:00:17 +0900 |
commit | 0856f7c744e631b6efafbb14d01e60bbfaa593f5 (patch) | |
tree | f360e33010b419387e15722854467167b8ab7fe3 /activerecord/lib/active_record/timestamp.rb | |
parent | 56b4fdb52bd327d42aec9ee3dcea01298aafe945 (diff) | |
download | rails-0856f7c744e631b6efafbb14d01e60bbfaa593f5.tar.gz rails-0856f7c744e631b6efafbb14d01e60bbfaa593f5.tar.bz2 rails-0856f7c744e631b6efafbb14d01e60bbfaa593f5.zip |
There is no need to check `null_relation?` in `empty_scope?`
`values[:extending]` includes `NullRelation` if `null_relation?`.
Diffstat (limited to 'activerecord/lib/active_record/timestamp.rb')
0 files changed, 0 insertions, 0 deletions