LoginSignup
6
6

More than 5 years have passed since last update.

Railsでの404、500、その他エラーへのベストプラクティスについてまとめてみる。

Last updated at Posted at 2015-04-22

まず、ここのコメントでかなり議論している方がいます。
Railsの404,500エラーページをカスタマイズ
以下でも同じ人がコメントしてる。
Railsで404/500エラーの処理
[Rails 4.x] エラーページの作り方

で、まぁ海外の記事も参考にしようかなと。
ここらへん?
Redirecting to Custom 404 and 500 Pages in Rails

localeはこれか。
Rails で 404, 500 などエラーページを国際化対応

結果、上のコメントしてる人のも合わせて、海外の記事が一番シンプルでよさげだなー。

6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6