diff options
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 99f9f9d094..f44549ca45 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,18 @@ +* Fix `PostgreSQLAdapter::OID::Float#type_cast` to convert Infinity and + NaN PostgreSQL values into a native Ruby `Float::INFINITY` and `Float::NAN` + + Example: + + # Before + Point.create(value: 1.0/0) + Point.last.value # => 0.0 + + # After + Point.create(value: 1.0/0) + Point.last.value # => Infinity + + *Innokenty Mikhailov* + * Allow the PostgreSQL adapter to handle bigserial pk types again. Fixes #10410. |