I’m problems that seem to indicate that binary data is not properly
escaped by the SQLite adaptor. I haven’t tested any other adaptors. Is
this a known issue?
My code looks something like this:
create_table :mytab do |t|
t.column :mybin, :blob
end
class MyTab < ActiveRecord::Base
end
Boom!
MyTab.new( :mybin => Base64.decode64( ‘AiEQ3um3AC8KMF
+FOMV4CYp0T18=’) ).save!