diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2016-12-01 14:39:35 -0500 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2016-12-01 14:42:12 -0500 |
commit | 22042331650e943a1bb3f954fef7e2951e3ad2a3 (patch) | |
tree | 4505d87917194ad2506a1d26aa3d302eb4bfb9c7 /railties/lib/rails/generators/erb | |
parent | 3dac36bd8e26363bb10f4d2a7b21efa75d200e26 (diff) | |
download | rails-22042331650e943a1bb3f954fef7e2951e3ad2a3.tar.gz rails-22042331650e943a1bb3f954fef7e2951e3ad2a3.tar.bz2 rails-22042331650e943a1bb3f954fef7e2951e3ad2a3.zip |
Stop using the `pg` Float encoder
PG's type map assumes that all Ruby floats are going to a field with an
OID of type float4 or float8, and generates text which is invalid syntax
for other types. Since the gem can handle floats properly without this
encoder (albeit slightly slower), we can continue to use that as we have
in prior versions of Rails.
Fixes #27246
Diffstat (limited to 'railties/lib/rails/generators/erb')
0 files changed, 0 insertions, 0 deletions