diff options
author | Derek Prior <derekprior@gmail.com> | 2015-12-16 09:41:47 -0500 |
---|---|---|
committer | Derek Prior <derekprior@gmail.com> | 2015-12-16 11:42:25 -0500 |
commit | dc4429ca3b21005d0016fca78967c2ebbe9677c9 (patch) | |
tree | 57651dd8a204da68fba0d3e800d413193fb67389 /activemodel/test/validators | |
parent | 13fd5586cef628a71e0e2900820010742a911099 (diff) | |
download | rails-dc4429ca3b21005d0016fca78967c2ebbe9677c9.tar.gz rails-dc4429ca3b21005d0016fca78967c2ebbe9677c9.tar.bz2 rails-dc4429ca3b21005d0016fca78967c2ebbe9677c9.zip |
Deprecate `redirect_to :back`
Applications that use `redirect_to :back` can be forced to 500 by
clients that do not send the HTTP `Referer` (sic) header.
`redirect_back` requires the user to consider this possibility up front
and avoids this trivially-caused application error.
Diffstat (limited to 'activemodel/test/validators')
0 files changed, 0 insertions, 0 deletions