aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/join_dependency.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-09-05 01:35:27 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-09-05 01:35:27 +0900
commita516fdefb6433993d7fcfda7b834fee1a2309d96 (patch)
treeaaa08c0ab752436afa3541ff88329b8666862faf /activerecord/lib/active_record/associations/join_dependency.rb
parent2b5f5cdd7c1d95716de6a206b6d09ccbb006dc17 (diff)
downloadrails-a516fdefb6433993d7fcfda7b834fee1a2309d96.tar.gz
rails-a516fdefb6433993d7fcfda7b834fee1a2309d96.tar.bz2
rails-a516fdefb6433993d7fcfda7b834fee1a2309d96.zip
Assigning `values` is only necessary when `reflection_scope.where_clause` is not empty
Because `reflection_scope.values` will create extra new hash.
Diffstat (limited to 'activerecord/lib/active_record/associations/join_dependency.rb')
0 files changed, 0 insertions, 0 deletions