Hi everyone,

I need to disable the automatic coercion of boolean types in DB2.  I see 
that there is a convert_smallint_to_bool instance variable in the 
Sequel::DB2 module, but I can't seem to set it in my rails app.  I want to 
turn this off globally in one spot.  I'm trying this in an initializer 
after my Sequel connections are initiated:

Sequel::DB2.convert_smallint_to_bool = false

But, I get this error in my Rails startup:  undefined method 
`convert_smallint_to_bool=' for Sequel::DB2:Module (NoMethodError)

Any suggestions on what I'm doing wrong here?

Thank you!

--Cal

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to