Learning Goals
- Learn How to handle errors in Rails
-
Structure
- Create a Staging Environment
- Handling Routing Exceptions
- Handling ActiveRecord Exceptions
ERROR: The attempt to fetch content/what-is-JSON.md failed with HTTP status 404.Check your browser's JavaScript console for more details.Remember that you need to serve the presentation HTML from a HTTP server.
ERROR: The attempt to fetch content/writing-json.md failed with HTTP status 404.Check your browser's JavaScript console for more details.Remember that you need to serve the presentation HTML from a HTTP server.
ERROR: The attempt to fetch content/JSON-vs-xml.md failed with HTTP status 404.Check your browser's JavaScript console for more details.Remember that you need to serve the presentation HTML from a HTTP server.
ERROR: The attempt to fetch content/JSON-ruby.md failed with HTTP status 404.Check your browser's JavaScript console for more details.Remember that you need to serve the presentation HTML from a HTTP server.
ERROR: The attempt to fetch content/JSON-javascript.md failed with HTTP status 404.Check your browser's JavaScript console for more details.Remember that you need to serve the presentation HTML from a HTTP server.
Recap
Create a Staging Environment
Handling Routing Exceptions
Handling ActiveRecord Exceptions