I'd just suggest letting :other_name (or whatever the correct term shakes out to be) take an array
map.resources :people, :other_names => ['folks', 'gentes','personoj'] do |person| person.resources :comments end This pattern can support multiple aliasing in segment paths for people who need to translate urls into more than one alternate language. -Trek On Jan 26, 2008, at 9:30 PM, Michael Koziarski wrote: > >> As for path_name, I disagree. It's not the name of the path, it >> *is* the >> path (if you interpret path as something that is prefixed with >> path_prefix). > > It's not even the path, it's the portion of the path for this segment > of the declaration > > map.resources :people, :other_name=>'folks' do |folks| > folks.resources :comments > end > > all I can see is :name_of_path_segment or path_segment_name... > >> So I just want to finish by saying (/me bangs his fist on the >> table) that >> this bike shed *must* be blue![*] > > My shed is pink[1] therefore this one must be too! > > -- > Cheers > > Koz > > [1] http://www.flickr.com/photos/koz/31291186/in/set-698503/ > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
