This project is archived and is in readonly mode.
[PATCH] Array.join making safe strings unsafe
-
Derek Croft
+1
Upgrading to Rails 3.0.3 causes all Array.join calls to escape for me. Cannot get it to work without this patch.
-
Russen Guggemos
Yeah, seeing this in Rails 3.0.3, e.g:
User.interests.map{|i| link_to i.name, interest_path(i) }.join(', '.html_safe)Putting that inside of <%= %> renders a bunch of escaped HTML.
