Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add http method to RoutingError message #299

wants to merge 1 commit into


None yet
3 participants

schneems commented Apr 22, 2011

Currently ActionController::RoutingError message will alert the user of a bad path but not the method.

No route matches "/join"

This patch adds the method used to call the url for debugging.

No route matches [POST] "/join"

By showing the method used, certain routing problems are easier to find, especially for a new rails user who is not as familliar with restful routing.


mattt commented Apr 22, 2011

Every now and then, this will trip me up. I'll be all "no way, I totally defined tha—oh, I'm dumb", except this internal monologue will transpire over, like, 20 minutes.


tenderlove commented Apr 22, 2011

Applied, thanks!

@tenderlove tenderlove closed this Apr 22, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment