diff options
author | Bernardo de Pádua <berpasan@gmail.com> | 2010-03-22 16:19:30 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-22 21:19:49 +0100 |
commit | a4090bca6a837a187ea0698c25e5d66c89409667 (patch) | |
tree | 433d5dbb732f9075673f7b88417a640b868038c6 /activerecord/test/cases/multiple_db_test.rb | |
parent | 75904c566e3ea475045450ba8fb1a74070a94fcb (diff) | |
download | rails-a4090bca6a837a187ea0698c25e5d66c89409667.tar.gz rails-a4090bca6a837a187ea0698c25e5d66c89409667.tar.bz2 rails-a4090bca6a837a187ea0698c25e5d66c89409667.zip |
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>
Diffstat (limited to 'activerecord/test/cases/multiple_db_test.rb')
0 files changed, 0 insertions, 0 deletions