Lookup the conversion proc for the column's oid in the Database object, and use it to convert the value.
# File lib/sequel/plugins/pg_typecast_on_load.rb, line 54 def set_values(values) model.pg_typecast_on_load_columns.each do |c| if (v = values[c]).is_a?(String) && (oid = db_schema[c][:oid]) values[c] = db.conversion_procs[oid].call(v) end end super end
Generated with the Darkfish Rdoc Generator 2.