Rails: Is there an equivalent to save_without_validation which skips after_save filters?
I have an after_save filter which I dont want to trigger in a specific instance. Is there a way to do this similar to save_without_validation? Thanks, ...
I have an after_save filter which I dont want to trigger in a specific instance. Is there a way to do this similar to save_without_validation? Thanks, ...
ActiveRecord use to call after_save callback each time save method is called even if the model was not changed and no insert/update query spawned. This is the default behaviour actually. And that is ok in most cases. But some of the after_save callbacks are sensitive to the thing that if the model was actually saved or not. Is there a...