Skip to content

Instantly share code, notes, and snippets.

@Mikr0Tik
Created September 30, 2008 14:49
Show Gist options
  • Save Mikr0Tik/13836 to your computer and use it in GitHub Desktop.
Save Mikr0Tik/13836 to your computer and use it in GitHub Desktop.
map.people '/:person', :controller=>:people,
:requirements=>{:person=>/(asian|european|american|african|australian)/}
i expected: people_path(:person=>'asian') to create /asian but it creates /people?person=asian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment