#418 ✓resolved
Xavier Noria

get/post/.../match :symbol are not supported

Reported by Xavier Noria | August 16th, 2010 @ 07:18 PM | in The Rails 3 Way

get, post, ..., should receive a string. So instead of

get :new

you have to say

get "new"

Same for match :symbol (to whom the former macros translate).

Symbols worked up to beta4, but then they are used internally and the public API only accepts strings. See for example this message of José http://groups.google.com/group/rubyonrails-core/msg/b39c60d3027aed2...

This affects several examples. Guess a global search in the entire book would be good.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

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

Shared Ticket Bins

People watching this ticket