PG::SimpleDecoder
This is a decoder class for conversion of PostgreSQL numeric types to Ruby BigDecimal objects.