diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-01-30 10:46:06 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-01-30 10:46:06 +0100 |
commit | 9632c986b4df02cc6c51dbbc2768403bd8e8c07f (patch) | |
tree | 642ec94703da0e5c544fa1803c0278f02509be75 /activerecord/examples/performance.rb | |
parent | 1917293dae366d5d6028da351460c8bccf22d21f (diff) | |
download | rails-9632c986b4df02cc6c51dbbc2768403bd8e8c07f.tar.gz rails-9632c986b4df02cc6c51dbbc2768403bd8e8c07f.tar.bz2 rails-9632c986b4df02cc6c51dbbc2768403bd8e8c07f.zip |
docs, `references` is only used with `includes`. Closes #13727.
There is no gain in `referencing` tables that are not used for preloading.
Furthermore it will break if polymorphic associations are invloved. This
is because `references_eager_loaded_tables?` uses all `reference_values`
to decide wether to `eager_load` or `preload`.
Diffstat (limited to 'activerecord/examples/performance.rb')
0 files changed, 0 insertions, 0 deletions