Displaying 1 result from an estimated 1 matches for "10fcfa244eb972c6de695be235d11f98".
2006 Jan 18
1
Rails and PostgreSQL bytea
...e if a do Base64 encoding but I
just want to do character escaping. How do I do this????.
What I get is this:
ActiveRecord::StatementInvalid in Init_test#save_file
ArgumentError: Invalid Ruby/cstring: INSERT INTO
globalfiles(chksum,block,directory,filename,blocksize,time,data)
VALUES(''10fcfa244eb972c6de695be235d11f98'', ''0'', ''test'', ''myfilename'',
''500000'', ''NOW()'', ''?B??H?3?!g1hV??9 blaaaahh more binary data...''
I have got a indication that this should be done automatically, but does
this hold...