undefined local variable or method `root_path' for #<XXXController> in Rails
TL; DR: If you specify a new name for a route, a new path is also going to be defined.
Problem
Rails doesn't not redirect to root_path, even though there's a root route defined in the routes.rb file.
Error
Let's check the error in several differen...
blog.alexandrecalaca.com4 min read