Skip to main content

dbi dates in ruby: bug when comparing dates to nil

don't evaluate dbi dates to nil (== nil) it will try to convert the nil into a date. Use my_date_obj.to_s == nil.to_s instead.

Comments