In case of an error:
PG::Error: ERROR: numeric field overflow DETAIL: A field with precision 2, scale 2 must round to an absolute value less than 1
How do I configure postgres or ruby/rails_4 pg library to tell me which field raises the error? Understandable error message will be:
PG::Error: ERROR: numeric field overflow. Field "pressure", value "1111.12"
This is a limitation of PostgreSQL's error reporting and can not be configured with PostgreSQL, rails or the pg gem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With