Binary data on SQLite adaptor is not properly escaped?

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

class MyTab < ActiveRecord::Base

Boom! :mybin => Base64.decode64( ‘AiEQ3um3AC8KMF
+FOMV4CYp0T18=’) ).save!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs