diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-05 01:35:27 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-05 01:35:27 +0900 |
commit | a516fdefb6433993d7fcfda7b834fee1a2309d96 (patch) | |
tree | aaa08c0ab752436afa3541ff88329b8666862faf /activerecord/lib/active_record/associations/builder | |
parent | 2b5f5cdd7c1d95716de6a206b6d09ccbb006dc17 (diff) | |
download | rails-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/builder')
0 files changed, 0 insertions, 0 deletions