aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/MIT-LICENSE
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-08-25 16:07:44 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2011-08-25 16:07:54 -0700
commit42a7979cf1810c75343b18007858b81718b90678 (patch)
tree98a7724f5de7f31984acfc910cf12b9ae54ee20b /activerecord/MIT-LICENSE
parent635b9d4ca8447aeb7c90807b469b605ff1a064ff (diff)
downloadrails-42a7979cf1810c75343b18007858b81718b90678.tar.gz
rails-42a7979cf1810c75343b18007858b81718b90678.tar.bz2
rails-42a7979cf1810c75343b18007858b81718b90678.zip
Force binary data inserted for a string data type to utf-8 and log an
error. Strings tagged as binary will be stored in sqlite3 as blobs. It is an error to insert binary data to a string column, so an error is emitted in the log file. People are highly encouraged to track down the source of the binary strings and make sure that the encoding is set correctly before inserting to the database.
Diffstat (limited to 'activerecord/MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions