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 51
51:         def load_typecast
52:           model.typecast_on_load_columns.each do |c|
53:             if v = values[c]
54:               send("#{c}=", v)
55:             end
56:           end
57:           changed_columns.clear
58:           self
59:         end

[Validate]