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:

Article Topic:Software Development - Rails

Date:September 11, 2015

Recommended Posts

Contact

604-309-8713
info@solidfoundationwebdev.com

Send Me A Message

I would love to get in touch and talk about your next project. Feel free to send a message and I will get back to you shortly.

Get Connected