diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-08-12 04:58:13 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-08-16 18:29:05 +0900 |
commit | 5047a1229fe13983274bf9675d09748cba281645 (patch) | |
tree | 80b7d99fc8396fe668fcc6c977ca0e1980ca2eda /activerecord/lib/active_record/associations | |
parent | c65c1721e2a137c3bb7a877fa4cfb3f78f89401a (diff) | |
download | rails-5047a1229fe13983274bf9675d09748cba281645.tar.gz rails-5047a1229fe13983274bf9675d09748cba281645.tar.bz2 rails-5047a1229fe13983274bf9675d09748cba281645.zip |
Remove unnecessary `query_scope`
Diffstat (limited to 'activerecord/lib/active_record/associations')
-rw-r--r-- | activerecord/lib/active_record/associations/preloader/association.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/associations/preloader/association.rb b/activerecord/lib/active_record/associations/preloader/association.rb index a8afa48865..7747e5bbdc 100644 --- a/activerecord/lib/active_record/associations/preloader/association.rb +++ b/activerecord/lib/active_record/associations/preloader/association.rb @@ -28,10 +28,6 @@ module ActiveRecord end def records_for(ids) - query_scope(ids) - end - - def query_scope(ids) scope.where(association_key_name => ids) end |