mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-11 07:35:33 +01:00
7 lines
408 B
Markdown
7 lines
408 B
Markdown
---
|
|
date: "2015-09-18T11:25:06Z"
|
|
tags:
|
|
- 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](https://api.rubyonrails.org/classes/ActiveModel/Validations/HelperMethods.html#method-i-validates_numericality_of)
|