Update: It has something to do with rails and/or the sqlite3 driver. If I base64 encode the data first, it works fine. Somewhere in the bowels of database code, certain byte patterns get warped...
- Michael On 6/4/07, Michael Frederick <[EMAIL PROTECTED]> wrote:
I'm having some trouble using BLOBs in SQLite on Rails. When I upload a file, it gets saved to the database with a few random bytes inserted. I'm using the uploaded_file.read method from the Rails book. The exact same code works fine with postgres. Any ideas? - Michael
_______________________________________________ Sdruby mailing list [email protected] http://lists.sdruby.com/mailman/listinfo/sdruby
