mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
38066a3d9b
Test case which was added at #32852 passes in Active Model but doesn't pass in Active Record since #38210 due to `Float::DIG` has changed to `BigDecimal.double_fig`. ```ruby irb(main):001:0> require 'bigdecimal/util' => true irb(main):002:0> 65.6.to_d => 0.656e2 irb(main):003:0> 65.6.to_d(Float::DIG) => 0.656e2 irb(main):004:0> 65.6.to_d(BigDecimal.double_fig) => 0.6559999999999999e2 ``` |
||
---|---|---|
.. | ||
absence.rb | ||
associated.rb | ||
length.rb | ||
numericality.rb | ||
presence.rb | ||
uniqueness.rb |