Best approach to use dashed slugs separated by a dash:
get ':foo-:bar', to: 'foo#bar'
foo
could be my-value
and bar
could be other-value
My url is then my-value-other-value
What is the best approach to do this except changing the param separator to something else?
I do know all value for foo and all values for bar as these are stored in corresponding models. I’m afraid using this method will be poor in performances.