Method: Sequel::Plugins::TypecastOnLoad::ClassMethods#call
- Defined in:
- lib/sequel/plugins/typecast_on_load.rb
permalink #call(values) ⇒ Object
Typecast values using #load_typecast when the values are retrieved from the database.
43 44 45 46 47 |
# File 'lib/sequel/plugins/typecast_on_load.rb', line 43 def call(values) o = super.load_typecast o.send(:_clear_changed_columns, :initialize) o end |