www.byjp.me/content/notes/twitter/644834528339587072/index.md
2024-04-30 13:31:06 +01:00

408 B

date tags
2015-09-18T11:25:06Z
imported
from-twitter

"Ugh": Rails' numericality validators convert to Float before comparisons. Don't use them with BigDecimals! https://api.rubyonrails.org/classes/ActiveModel/Validations/HelperMethods.html#method-i-validates_numericality_of