Closed JarriqTheTechie closed 1 year ago
This method calls the update method on a model without firing the updated & updating observer events. Updated/Updating are toggled back on once update_quietly has been ran.
Instead of calling:
User().update(...)
you can use this:
User.update_quietly(...)
@josephmancuso / @girardinsamuel please review.
Hi @josephmancuso, I'll make the changes this weekend. Been having a boxing match with COVID.
of course no worries just doing some cleaning up
This method calls the update method on a model without firing the updated & updating observer events. Updated/Updating are toggled back on once update_quietly has been ran.
Instead of calling:
User().update(...)
you can use this:
User.update_quietly(...)