If you've named your instance variables descriptively, the polymorphic_url syntax is descriptive -- it shows the objects that appear in the url, and the order in which they appear:
polymorphic_url [EMAIL PROTECTED], @person] On Jun 22, 2:18 pm, Josh Peek <[EMAIL PROTECTED]> wrote: > I really hate calling polymorphic_path directly. I really love what it > does for me behind the scenes but I think named routes are much more > descriptive. IMHO, polymorphic_path and polymorphic_url should go > protected from direct calls. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
