The hash used for updating records. This should only be called in the after_update and after_save hooks.
Unset the updated columns hash before returning from save.
# File lib/sequel/plugins/columns_updated.rb, line 33 def _save(opts) super ensure @columns_updated = nil end
Store the hash used for updating the record, so it can be accessed in the after_hooks.
# File lib/sequel/plugins/columns_updated.rb, line 27 def _update_columns(columns_updated) @columns_updated = columns_updated super end