diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-02 04:59:27 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-02 04:59:27 +0900 |
commit | 855e5f59f0a990bb35cacbc7e46d02206923551f (patch) | |
tree | a7d4801ebf17bc0ebe5a8ce5f654eaf5f73b38d6 /actionmailer/lib/rails/generators/mailer/USAGE | |
parent | b3bc263a9161aa86a5eb6114a674dc268ca2080f (diff) | |
download | rails-855e5f59f0a990bb35cacbc7e46d02206923551f.tar.gz rails-855e5f59f0a990bb35cacbc7e46d02206923551f.tar.bz2 rails-855e5f59f0a990bb35cacbc7e46d02206923551f.zip |
Don't call `scope.eager_loading?` when `reflection_scope.where_clause` is empty
If `reflection_scope.where_clause` is empty, `scope` isn't changed. So
`scope.eager_loading?` is always false.
Diffstat (limited to 'actionmailer/lib/rails/generators/mailer/USAGE')
0 files changed, 0 insertions, 0 deletions