How to Override the Named Route Parameter ID in Rails

from blog Write Software, Well, | ↗ original
This post shows how you can override the default named parameter :id in Rails, by overriding the `to_param` method on the Rails model.