EPISODE · Jul 27, 2007 · 6 MIN
#63 Model Name in URL
from RailsCasts (Mobile) · host Ryan Bates
By default, Rails uses the model's id in the URL. What if you want to use the name of the model instead? You can change this behavior by overriding the to_param method in the model. Watch this episode for details.
Embed this episode
NOW PLAYING
#63 Model Name in URL
0:00
6:07
1×
No transcript for this episode yet
Similar Episodes
No similar episodes found.
Similar Podcasts
No similar podcasts found.
Frequently Asked Questions
How long is this episode of RailsCasts (Mobile)?
This episode is 6 minutes long.
When was this RailsCasts (Mobile) episode published?
This episode was published on July 27, 2007.
Can I download this RailsCasts (Mobile) episode?
Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!