This project is archived and is in readonly mode.

#2422 ✓invalid
avijayr (at gmail)

Controller params should be accessible with both string and symbol?

Reported by avijayr (at gmail) | April 5th, 2009 @ 06:33 PM | in 2.x

Is there any particular reason that the controller (request) params are only accessible as strings? It would help a lot in development, if the params hash is a HashWithIndifferentAccess.

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

Pages