diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-06-13 01:04:33 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-06-13 01:13:54 +0900 |
commit | 681a0a0299500024635e790c1ceb2da281652444 (patch) | |
tree | ffcd0257d826c89ed1d07bd18f25fc556a142407 /actionmailer/test/abstract_unit.rb | |
parent | 8a39123d5dd11dcc63e8f1a915cf66fa0e2cf9a3 (diff) | |
download | rails-681a0a0299500024635e790c1ceb2da281652444.tar.gz rails-681a0a0299500024635e790c1ceb2da281652444.tar.bz2 rails-681a0a0299500024635e790c1ceb2da281652444.zip |
Fix `calculate` with a string value in `from` and eager loading
`construct_relation_for_association_calculations` pass a string value to
`construct_join_dependency` when setting a string value in `from`.
It should not pass a string value, but always `joins_values`.
Related #14834, #19452.
Fixes #24193.
Diffstat (limited to 'actionmailer/test/abstract_unit.rb')
0 files changed, 0 insertions, 0 deletions