aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2016-03-04 09:43:35 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2016-03-04 09:43:35 -0800
commit722319d2fe75204458ab97d5b9b1e28c7f0b1e18 (patch)
tree2038dc36da66e384f9ae4d0a51d44b37e0c0ac76 /actionview
parent999b70320b0511b5e2c8663e56a68778b1615796 (diff)
downloadrails-722319d2fe75204458ab97d5b9b1e28c7f0b1e18.tar.gz
rails-722319d2fe75204458ab97d5b9b1e28c7f0b1e18.tar.bz2
rails-722319d2fe75204458ab97d5b9b1e28c7f0b1e18.zip
don't build the reflection chain to calculate `nested?`
We know a reflection can be considered as `nested?` if the source reflection or the through reflection are also through reflections (since the through reflection will also add another join table). This allows us to avoid traversing the entire reflection tree just to calculate whether or not there will be more join tables.
Diffstat (limited to 'actionview')
0 files changed, 0 insertions, 0 deletions