You can do this through routes (not to_param), but I am wondering "why?". This goes against rails naming conventions. What are you trying to accomplish with this new url?
–
natedavisoldsJun 17 '11 at 15:41

I messed up I didn't know you could be able to do this from rails routes.
–
KevinJun 17 '11 at 16:03

I am glad that you got this working. I am still wondering though... why would you want to do this? I don't see the advantage of this over /posts/1-Hello-World-very-nice
–
natedavisoldsJun 17 '11 at 16:30

I would think this would be better for SEO or that wouldn't matter?
–
KevinJun 18 '11 at 14:52