Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [a4090bca6a837a187ea0698c25e5d66c89409667] by Bernardo de Pádua

Revision a4090bca6a837a187ea0698c25e5d66c89409667, committed 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...

2 changed files

  • M actionpack/lib/action_view/helpers/number_helper.rb
  • M actionpack/test/template/number_helper_test.rb