:allow_blank not allowed on monetize
ClaudioFloreani opened this issue · 2 comments
ClaudioFloreani commented
In monetize :price_cents, numericality: { greater_than_or_equal_to: 0}, allow_blank: true
, the :allow_blank option is silently ignored. It leads to confusing "not a number validation errors" which are hard to debug.
sunny commented
It would be nice if it raised an error for any unknown option.
semmons99 commented
please submit a PR to consider changing this