aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/inflector/inflections.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2016-12-31 08:20:35 +1030
committerMatthew Draper <matthew@trebex.net>2016-12-31 08:40:01 +1030
commit6b126ffdcd8031bfe83fc311a230799c05e2c955 (patch)
treeb1ddc4ce35782de91aa12d360536aee9d58671f0 /activesupport/lib/active_support/inflector/inflections.rb
parent2c5190e3299c83a357c8bf8010d6ca7bff99c1b5 (diff)
downloadrails-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 'activesupport/lib/active_support/inflector/inflections.rb')
0 files changed, 0 insertions, 0 deletions