Module Sequel::Plugins::TypecastOnLoad::InstanceMethods
In: lib/sequel/plugins/typecast_on_load.rb

Methods

Public Instance methods

Call the setter method for each of the model‘s typecast_on_load_columns with the current value, so it can be typecasted correctly.

[Source]

    # File lib/sequel/plugins/typecast_on_load.rb, line 53
53:         def load_typecast
54:           model.typecast_on_load_columns.each do |c|
55:             if v = values[c]
56:               set_column_value("#{c}=", v)
57:             end
58:           end
59:           changed_columns.clear
60:           self
61:         end

[Validate]