diff options
author | Yuki Nishijima <mail@yukinishijima.net> | 2014-11-23 13:30:04 -0800 |
---|---|---|
committer | Yuki Nishijima <mail@yukinishijima.net> | 2014-11-28 09:39:27 -0800 |
commit | cbcec99fdbd635bba77bcc94c8622369690bdb4a (patch) | |
tree | 6776db2f2b38000156f1f0030e0b22e074aadf9b /actionpack/test/controller/required_params_test.rb | |
parent | f25ad07f5ade46eb978fa82658463232d0247c65 (diff) | |
download | rails-cbcec99fdbd635bba77bcc94c8622369690bdb4a.tar.gz rails-cbcec99fdbd635bba77bcc94c8622369690bdb4a.tar.bz2 rails-cbcec99fdbd635bba77bcc94c8622369690bdb4a.zip |
Remove custom errors page section from the guides
This pattern is too problematic and introduces a lot of edge cases:
* On 4.2, the issue https://github.com/rails/rails/issues/15124 is
back again.
* needs to define each action for each http status otherwise the
router raises ActionController::RoutingError (No route matches).
* If the router has `match "/*username",...` and some action is
missing, Rails will pick up the "match" and try to do its job.
* encourages people to copy & paste programming. Not DRY.
[ci skip]
Diffstat (limited to 'actionpack/test/controller/required_params_test.rb')
0 files changed, 0 insertions, 0 deletions