Neil Wilson
2008-Mar-26 09:31 UTC
Route requirements ignore Regexp modifiers fix - comments please
I''ve created a patch that allows route requirements to use the Regexp IgnoreCase and Extended Syntax modifiers, so you can do things like: map.connect ''country/:country_code'', :controller => ''country'', :action => ''show'', :country_code => /GB|US|CA/i The ticket and patch is at http://dev.rubyonrails.org/ticket/11421 Comments appreciated NeilW --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---