On Jul 7, 10:08 am, DHH <[EMAIL PROTECTED]> wrote: > I think it's perfectly fine to encourage people to not nest when they > don't really care one way or another. But to outright "forbid" it is > pushing it.
I wasn't clear about banning what.. I wanted to remove the whole polymorphic nesting with an array: polymorphic_path([EMAIL PROTECTED], @album, @track]). If you want to do something like that, use the old school named route for it: artist_album_track_path(@artist, @album, @track). I've seen a ton of tickets of people trying to extend polymorphic_path([...]) to do everything for them when a proper work around with named routes will do. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
