Marc Bowes
Not a member
Marc Bowes's latest activity
Wednesday, April 01 2009
Monday, February 23 2009
2054
:requirements not passed to named_route generated by :member
was updated
in Ruby on Rails
-
Marc Bowes commented at 10:48 PMOh dddear. The blockquotes didn't work so well for the example code, it seems to have been squished onto one line. Sorry :)
-
Marc Bowes created the ticket at 10:46 PMExample
routes.rb
map.resources :users, :requirements => { :id => %r([^/;,?]+) }, :member => { :baz => :get }
user.rb
def to_param self.name end
The error
A...