Tutorial search

Ruby on Rails Tutorials
Tutorials
Stuff
Affiliates

Ruby on Rails Routes Tutorials


We hope that you will enjoy our Ruby on Rails Routes tutorials. Feel free to contact us if you would like to be a tutorial hero and contribute your own Ruby on Rails Routes tutorials to our site. Thank you !

Sort by:
Nested Resources in Rails 2
Nested Resources in Rails 2
Nested resources were introduced in Rails 1.2 and are touted as the Right Way to do REST with parent-child model associations. If your app has a url that reads something like /employees?company_id=1, a switch to nested resources would cause it to read /companies/1/employees. Here's a detailed guide to developing with these new changes in mind.
Category: Ruby on Rails tutorials > Routes - Difficulty:
Total Tutorials in Category: 1