Skip to content

Instantly share code, notes, and snippets.

map.resources :cars do |car|
car.resources :wheels, :controller => 'wheels'
end
map.resources :bikes do |bike|
bike.resources :wheels, :controller => 'wheels'
end