karmi/tire — pull request #268 by willvr (2012-03-07 21:40:09+00:00)
Title: Add ability to override to_param for Results::Item

I wanted to be able to send a Results::Item directly to a named route like

video_path(result)

for a model with to_param redefined to a "friendly string". I wanted to ability to specify a to_param attribute. I'm not sure if there's a preferred way to do this, but this patch works for me.