RailsCasts

#63 Model Name in URL


Listen Later

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.
...more
View all episodesView all episodes
Download on the App Store

RailsCastsBy Ryan Bates

  • 4.9
  • 4.9
  • 4.9
  • 4.9
  • 4.9

4.9

211 ratings