module Sequel::Plugins::ColumnsUpdated::InstanceMethods
Attributes
The hash used for updating records. This should only be called in the after_update and after_save hooks.
Private Instance Methods
Source
# File lib/sequel/plugins/columns_updated.rb 37 def _save(opts) 38 super 39 ensure 40 @columns_updated = nil 41 end
Unset the updated columns hash before returning from save.
Calls superclass method
Source
# File lib/sequel/plugins/columns_updated.rb 31 def _update_columns(columns_updated) 32 @columns_updated = columns_updated 33 super 34 end
Store the hash used for updating the record, so it can be accessed in the after_hooks.
Calls superclass method