rails/rails — pull request #4809 by cfeist (2012-01-31 23:44:34+00:00)
Title: Fix for SQLite binary data corrupter (to master branch)

This is a fix for issue #4777 for the SQLite adapter which will corrupt binary data if the data contains '%00'. I've provided a test which fails without the fix and passes after the fix.

I've applied this patch against the master branch (instead of the 3-2-stable branch as in issue #4778).

Please let me know if there are any other changes I need to make.

Thanks!
Chris