-
Notifications
You must be signed in to change notification settings - Fork 2
Rails program stops executing due to error
Sean Lerner edited this page Apr 11, 2017
·
31 revisions
When a rails ruby script stops executing, rails will serve up a web page with details on what caused the error.
- Routing Error: No route matches (Guide not yet ready, coming soon!)
- Routing Error: uninitialized constant (Guide not yet ready, coming soon!)
- Unknown action (Guide not yet ready, coming soon!)
- ActionController::UnknownFormat: missing a template (Guide not yet ready, coming soon!)
- NoMethodError: undefined method `<method_name>' for nil:NilClass (Guide not yet ready, coming soon!)
- NameError: uninitialized constant (Guide not yet ready, coming soon!)
- NameError: undefined local variable or method (Guide not yet ready, coming soon!)
- ActiveRecord::PendingMigrationError (Guide not yet ready, coming soon!)
This is a living document. If you have anything to add, change or remove, please let us know. Or better yet, as it's a wiki, make the change yourself!