On Jan 25, 2008 9:22 PM, Michael Koziarski <[EMAIL PROTECTED]> wrote:

>
> I'm happy with the documentation but not sure I buy the need for
> #8720?


Why match the API of polymorphic_path with polymorphic_url? Because there is
no need for these two to have different signatures, especially since
generated helpers for resources (foo_url vs. foo_path) have the same
parameters. I think consistency is key here, and since polymorphic_path
should be more used in general, it should take the parameters option.
Otherwise you would have to use polymophic_url with :routing_type => :path.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to