aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2015-01-10 12:24:10 -0700
committerSean Griffin <sean@thoughtbot.com>2015-01-10 12:26:51 -0700
commit7a09fc55c0d89f6a672c79fdd9787c51a85a06fc (patch)
tree9fd483146de0f535845889d7eb917e287f42df36 /activerecord/CHANGELOG.md
parent4d5e6607899832bde1365bdd4f7617a24bca4561 (diff)
downloadrails-7a09fc55c0d89f6a672c79fdd9787c51a85a06fc.tar.gz
rails-7a09fc55c0d89f6a672c79fdd9787c51a85a06fc.tar.bz2
rails-7a09fc55c0d89f6a672c79fdd9787c51a85a06fc.zip
Stop special casing null binary data in logging
There's very little value in logging "<NULL binary data>" instead of just "nil". I'd like to remove the column from the equation entirely, and this case is preventing us from doing so.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index c5f0e5022a..8875b7ae25 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,8 @@
+* `nil` as a value for a binary column in a query no longer logs as
+ "<NULL binary data>", and instead logs as just "nil".
+
+ *Sean Griffin*
+
* `attribute_will_change!` will no longer cause non-persistable attributes to
be sent to the database.