-
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
- Routing Error: uninitialized constant
- Unknown action
- ActionController::UnknownFormat: missing a template
- NoMethodError: undefined method `<method_name>' for nil:NilClass
- NameError: uninitialized constant
- NameError: undefined local variable or method
- ActiveRecord::PendingMigrationError
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!