aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorRyan Warnick <warnickr@gmail.com>2013-02-11 17:31:25 -0700
committerRyan Warnick <warnickr@gmail.com>2013-02-13 18:41:15 -0700
commit0c0ee13a1cb6a8156c7a3bf7334efc6ff8c04c5d (patch)
treed84d4b3a6c2d6b7aaf6653d038bd8ff67f205924 /activerecord/test
parentf8c8ad56c8a1cb48c6535fd8e248dcb9049e0aa3 (diff)
downloadrails-0c0ee13a1cb6a8156c7a3bf7334efc6ff8c04c5d.tar.gz
rails-0c0ee13a1cb6a8156c7a3bf7334efc6ff8c04c5d.tar.bz2
rails-0c0ee13a1cb6a8156c7a3bf7334efc6ff8c04c5d.zip
9253: Before writing a numeric attribute value, ActiveRecord does an implicit
conversion of boolean types (true => 1 and false => 0). If the numeric value being assigned is a BigDecimal, then ActiveRecord compares a BigDecimal to true and false. This is known to be very slow in Ruby 1.9.3.
Diffstat (limited to 'activerecord/test')
0 files changed, 0 insertions, 0 deletions