aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test
diff options
context:
space:
mode:
authorBernardo de Pádua <berpasan@gmail.com>2010-03-22 16:19:30 -0300
committerJosé Valim <jose.valim@gmail.com>2010-03-22 21:19:49 +0100
commita4090bca6a837a187ea0698c25e5d66c89409667 (patch)
tree433d5dbb732f9075673f7b88417a640b868038c6 /activemodel/test
parent75904c566e3ea475045450ba8fb1a74070a94fcb (diff)
downloadrails-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 'activemodel/test')
0 files changed, 0 insertions, 0 deletions