Public Instance methods
load_typecast()
Call the setter method for each of the model’s typecast_on_load_columns with the current value, so it can be typecasted correctly.
[show source]
# File lib/sequel/plugins/typecast_on_load.rb 62 def load_typecast 63 model.typecast_on_load_columns.each do |c| 64 if v = values[c] 65 set_column_value("#{c}=", v) 66 end 67 end 68 self 69 end