aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/traffic_light.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-03-17 10:55:21 +0100
committerYves Senn <yves.senn@gmail.com>2014-03-17 10:55:21 +0100
commit378c8d2c996558aa4108280d5f0db8daf040d0fc (patch)
tree568c4b8bad12a6b477fc705d2e703c86ce8e1168 /activerecord/test/models/traffic_light.rb
parenta0c1c18e4d85e2d95241a1924683b396bd3ae4e5 (diff)
downloadrails-378c8d2c996558aa4108280d5f0db8daf040d0fc.tar.gz
rails-378c8d2c996558aa4108280d5f0db8daf040d0fc.tar.bz2
rails-378c8d2c996558aa4108280d5f0db8daf040d0fc.zip
fix `number_to_percentage` with `Float::NAN`, `Float::INFINITY`.
Closes #14405. This is a follow-up to 9e997e9039435617b6a844158f5437e97f6bc107 to restore the documented behavior.
Diffstat (limited to 'activerecord/test/models/traffic_light.rb')
0 files changed, 0 insertions, 0 deletions