module MiniSql module Coders class NumericCoder < PG::SimpleDecoder def decode(string, tuple = nil, field = nil) string.to_f end end end end