diff options
author | Matthew Draper <matthew@trebex.net> | 2016-12-31 08:20:35 +1030 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2016-12-31 08:40:01 +1030 |
commit | 6b126ffdcd8031bfe83fc311a230799c05e2c955 (patch) | |
tree | b1ddc4ce35782de91aa12d360536aee9d58671f0 /activerecord/lib/active_record/relation | |
parent | 2c5190e3299c83a357c8bf8010d6ca7bff99c1b5 (diff) | |
download | rails-6b126ffdcd8031bfe83fc311a230799c05e2c955.tar.gz rails-6b126ffdcd8031bfe83fc311a230799c05e2c955.tar.bz2 rails-6b126ffdcd8031bfe83fc311a230799c05e2c955.zip |
Enforce middleware ordering with a test, instead of comments
We want the actual order to be very predictable, so it's rightly defined
in code -- not with an on-the-fly tsort.
But we can do the tsort here, and then verify that it matches the
implemented ordering. This way we don't leave future readers guessing
which parts of the ordering are deliberate and which are arbitrary.
Diffstat (limited to 'activerecord/lib/active_record/relation')
0 files changed, 0 insertions, 0 deletions