aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2015-01-23 12:47:41 -0700
committerSean Griffin <sean@thoughtbot.com>2015-01-23 12:50:01 -0700
commit96e504ec8af149962312c13dd418e13e4c74ce86 (patch)
treeedc8ce3f4de566ec5c1e90472957d5b381f10547 /activerecord/CHANGELOG.md
parentb9d668f8cb466ab70e107e8ed6e1df2d28c25f31 (diff)
downloadrails-96e504ec8af149962312c13dd418e13e4c74ce86.tar.gz
rails-96e504ec8af149962312c13dd418e13e4c74ce86.tar.bz2
rails-96e504ec8af149962312c13dd418e13e4c74ce86.zip
Errors raised in `type_cast_for_database` no longer raise on assignment
Fixes #18580.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 63cd715920..2054c9573e 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,6 +1,15 @@
+* Values which would error while being sent to the database (such as an
+ ASCII-8BIT string with invalid UTF-8 bytes on Sqlite3), no longer error on
+ assignment. They will still error when sent to the database, but you are
+ given the ability to re-assign it to a valid value.
+
+ Fixes #18580.
+
+ *Sean Griffin*
+
* Don't remove join dependencies in `Relation#exists?`
- Fixes #18632
+ Fixes #18632.
*Sean Griffin*