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.
What this episode covers
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.
NOW PLAYING
#63 Model Name in URL
No transcript for this episode yet
Similar Episodes
Mar 2, 2026 ·27m
Mar 2, 2026 ·8m
Feb 25, 2026 ·14m
Jan 14, 2026 ·32m
Dec 16, 2025 ·43m