aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-08-07 17:59:27 +0200
committerYves Senn <yves.senn@gmail.com>2013-11-11 16:15:00 +0100
commit07ae1e9b5557182f69e5ffbac54b334284abf36f (patch)
treed160eab55a7f40da7101d5ff1a52eecd744f0b36 /activerecord/CHANGELOG.md
parent07790d5832e1822ce7278f05db1fe8394b5eb780 (diff)
downloadrails-07ae1e9b5557182f69e5ffbac54b334284abf36f.tar.gz
rails-07ae1e9b5557182f69e5ffbac54b334284abf36f.tar.bz2
rails-07ae1e9b5557182f69e5ffbac54b334284abf36f.zip
Unifies mysql and mysql2 casting of booleans.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 1e387769de..54c243951d 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,10 @@
+* Unify boolean type casting for `MysqlAdapter` and `Mysql2Adapter`.
+ `type_cast` will return `1` for `true` and `0` for `false`.
+
+ Fixes #11119.
+
+ *Adam Williams*, *Yves Senn*
+
* Fix bug where has_one associaton record update result in crash, when replaced with itself.
Fixes #12834.