diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-01-02 11:24:53 +0900 |
---|---|---|
committer | Yuji Yaginuma <yuuji.yaginuma@gmail.com> | 2018-01-04 06:44:53 +0900 |
commit | bce675eac49a8673d63ea41991f020aa3aa8c506 (patch) | |
tree | 9bd6b77f30370c90e45b379657699fe532b1bf04 /activesupport/test/autoloading_fixtures/class_folder | |
parent | ff4f69ff2d7c4880a04f5c963e0025af041b8e9d (diff) | |
download | rails-bce675eac49a8673d63ea41991f020aa3aa8c506.tar.gz rails-bce675eac49a8673d63ea41991f020aa3aa8c506.tar.bz2 rails-bce675eac49a8673d63ea41991f020aa3aa8c506.zip |
Correctly handle infinity value in PostgreSQL range type
An empty string is an invalid value in Ruby's range class.
So need to handle `Float::INFINITY` as it is and cast it in
`encode_range`.
Fixes #31612
Diffstat (limited to 'activesupport/test/autoloading_fixtures/class_folder')
0 files changed, 0 insertions, 0 deletions