Closed JarriqTheTechie closed 1 year ago
This method calls the delete method on a model without firing the delete & deleting observer events. Instead of calling:
User().delete(...)
you can use this:
User.delete_quietly(...)
@girardinsamuel / @josephmancuso please review.
Shouldn't activate again the events after this operation as save and updte quietly does with .with_events() method?
.with_events()
Thanks @Marlysson @josephmancuso
This method calls the delete method on a model without firing the delete & deleting observer events. Instead of calling:
User().delete(...)
you can use this:
User.delete_quietly(...)