This project is archived and is in readonly mode.

Changeset [1814298d7590988d354955efdb0bc495b359293b] by Josh Kalderimis

February 10th, 2011 @ 03:51 PM

Removed Array#safe_join in AS core_ext and moved it to a view helper with the same same. This also changes how safe_join works, if items or the separator are not html_safe they are html_escape'd, a html_safe string is always returned.

Signed-off-by: José Valim jose.valim@gmail.com
https://github.com/rails/rails/commit/1814298d7590988d354955efdb0bc...

Committed by Josh Kalderimis

  • A actionpack/lib/action_view/helpers/output_safety_helper.rb
  • A actionpack/test/template/output_safety_helper_test.rb
  • R actionpack/lib/action_view/helpers/raw_output_helper.rb
  • R actionpack/test/template/raw_output_helper_test.rb
  • M actionpack/lib/action_view/helpers.rb
  • M activesupport/lib/active_support/core_ext/string/output_safety.rb
  • M activesupport/test/core_ext/string_ext_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>