diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-03-03 21:09:58 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-03-03 21:09:58 +0100 |
commit | 493313228aab26a7e8a241c1be2a73d52ba60f0d (patch) | |
tree | fd63756e34a65dce426790ed60f0123be4a0f994 /activerecord/test/cases/explain_subscriber_test.rb | |
parent | 2ef8a0e2b87a9c4204ee49410b3a107958790b98 (diff) | |
download | rails-493313228aab26a7e8a241c1be2a73d52ba60f0d.tar.gz rails-493313228aab26a7e8a241c1be2a73d52ba60f0d.tar.bz2 rails-493313228aab26a7e8a241c1be2a73d52ba60f0d.zip |
Rename constrain_to to exclude.
`ActionDispatch::SSL` redirects all HTTP requests to HTTPS, not just some.
The `constrain_to` option inverts this, so it sounds like the middleware
only handles a few requests, rather than the majority with a few routes to
opt out of the redirect.
Renaming to `exclude` matches this intent more closely.
Diffstat (limited to 'activerecord/test/cases/explain_subscriber_test.rb')
0 files changed, 0 insertions, 0 deletions