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