You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed 404 and 505 html file in Public folder and Generate a new ErrorsController that inherits from ApplicationController with command rails g controller errors not_found internal_server_error.
Configure Routes to Handle New Errors Page in config/routes.rb.
Adjust configuration to turn off the default way Rails will handle errors in the main application.rb file.
Disable configuration in config/environments/development.rb in order to test things out locally.
Style, edit and adjust the views within app/views/errors accordingly.
rails g controller errors not_found internal_server_error.config/routes.rb.application.rbfile.config/environments/development.rbin order to test things out locally.app/views/errorsaccordingly.