diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-08-25 16:07:44 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-08-25 16:07:54 -0700 |
commit | 42a7979cf1810c75343b18007858b81718b90678 (patch) | |
tree | 98a7724f5de7f31984acfc910cf12b9ae54ee20b /RAILS_VERSION | |
parent | 635b9d4ca8447aeb7c90807b469b605ff1a064ff (diff) | |
download | rails-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 'RAILS_VERSION')
0 files changed, 0 insertions, 0 deletions