Railscasts #63: Model Name in URL Posted in Development, Frameworks, Podcasts, Web Technologies on October 16, 2007 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. Watch Video Watch Video Watch Video on External Site Tags: Ruby, Ruby On Rails, Frameworks, Railscasts, HTTP Related Search Queries inurl: inurl video videocopilot symfony get model name ruby on rails change a model name railscasts model name in url railscasts 63 railscast using urls in models railscast model in url rails override model name in url rails model names url rails model name in url rails get modelname rails get model name model.name ruby on rails model url rails to_param model name in url ruby on rails inurl: videoq inurl: url inurl: com/create-account inurl: addurl -reciprocal -login get url in model ruby on rails generate url rails from model generate url from model name generate url from model +rails Please enable JavaScript to view the comments powered by Disqus.