Two or more parameters in RESTful route
myresource_path(:id => myId, :extra_param => extraId, :extra_param2 => blah)
Results in
myresource/myId?extra_param=extraId&extra_param2=blah
See this Google Rails Group thread from Jeremy Kemper.
TextSnippets > deckard > restul
2818 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
myresource_path(:id => myId, :extra_param => extraId, :extra_param2 => blah)
myresource/myId?extra_param=extraId&extra_param2=blah