#63 Model Name in URL episode artwork

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.

Episode metadata supplied by the publisher feed · Published Jul 27, 2007

Embed this episode

NOW PLAYING

#63 Model Name in URL

0:00 6:07

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

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!