Patch to prevent modification of the array passed in to polymorphic_path

2 views
Skip to first unread message

Thomas Lee

unread,
Mar 17, 2008, 12:43:07 PM3/17/08
to rubyonra...@googlegroups.com
Hi all,

Can I get a review or two regarding this patch? Fixes some nasty
unexpected behaviour in polymorphic_path whereby the array fed to the
method is actually modified in-place, potentially causing confusion for
client code. See the ticket for more details.

http://dev.rubyonrails.org/ticket/11363

Cheers,
T

Reply all
Reply to author
Forward
0 new messages