This project is archived and is in readonly mode.

Changeset [a4090bca6a837a187ea0698c25e5d66c89409667] by Bernardo de Pádua

March 22nd, 2010 @ 08:19 PM

NumberHelper methods should now return html_safe strings (when the inputs are valid numbers or are html_safe). Also adds :raise => true (used internaly) to make the number helpers throw InvalidNumberError when the given number is invalid.

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/a4090bca6a837a187ea0698c25e5d6...

Committed by Bernardo de Pádua

  • M actionpack/lib/action_view/helpers/number_helper.rb
  • M actionpack/test/template/number_helper_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>