I am currently looking for a software/web development job preferably as a Rails-based developer.
Please email me at firstname.lastname@example.org. Thanks in advance for any leads!
Redirect To 404 Page Not Found In Rails
Posted by Weston Ganger
Sometimes you may want to trigger a 404 Page Not Found upon some error in your code in Rails. This will interrupt the execution of your code.
raise ActionController::RoutingError.new('Not Found')
Related External Links: