| Module | Sequel::Plugins::TypecastOnLoad::ClassMethods |
| In: |
lib/sequel/plugins/typecast_on_load.rb
|
| typecast_on_load_columns | [R] | The columns to typecast on load for this model. |
Call the setter method for each of the typecast on load columns, ensuring the model object will have the correct typecasting even if the database doesn‘t typecast the columns correctly.
# File lib/sequel/plugins/typecast_on_load.rb, line 48
48: def load(values)
49: super.load_typecast
50: end