add_pg_typecast_on_load_columns(*columns)click to toggle source
Add additional columns to typecast on load for this model.
# File lib/sequel/plugins/pg_typecast_on_load.rb, line 40defadd_pg_typecast_on_load_columns(*columns)
@pg_typecast_on_load_columns.concat(columns)
end
inherited(subclass)click to toggle source
Give the subclass a copy of the columns to typecast on load.
# File lib/sequel/plugins/pg_typecast_on_load.rb, line 45definherited(subclass)
supersubclass.instance_variable_set(:@pg_typecast_on_load_columns, pg_typecast_on_load_columns.dup)
end