module CsvRecord::Callbacks::InstanceMethods
Public Instance Methods
append_registry()
click to toggle source
Calls superclass method
# File lib/csv_record/callbacks.rb, line 81 def append_registry run_before_create_callbacks is_saved = super run_after_create_callbacks if is_saved is_saved end
destroy()
click to toggle source
Calls superclass method
# File lib/csv_record/callbacks.rb, line 67 def destroy run_before_destroy_callbacks is_destroyed = super run_after_destroy_callbacks if is_destroyed is_destroyed end
save(*args)
click to toggle source
Calls superclass method
# File lib/csv_record/callbacks.rb, line 74 def save(*args) run_before_save_callbacks is_saved = super run_after_save_callbacks if is_saved is_saved end
update_registry()
click to toggle source
Calls superclass method
# File lib/csv_record/callbacks.rb, line 88 def update_registry run_before_update_callbacks saved = super run_after_destroy_callbacks if saved run_after_update_callbacks if saved saved end
valid?()
click to toggle source
Calls superclass method
# File lib/csv_record/callbacks.rb, line 60 def valid? run_before_validation_callbacks is_valid = super run_after_validation_callbacks if is_valid is_valid end