This project is archived and is in readonly mode.

#2828 ✓resolved
blaxter

Routes with symbols produces a silent fail

Reported by blaxter | June 23rd, 2009 @ 10:08 PM | in 2.x

If you specify :action as a symbol, Rails won't fail, you will get the Rails view but the controller/action specified won't be executed, so it's really difficult to diagnose if you don't know about it.

The problem is not that routes should accept symbols, but the weird behaviour you get as a result.

This path just converts the symbols to strings when adding routes (test included).

For more info see #692

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Tags

Referenced by

Pages