How do I stop callbacks when using Model.update_all? Or stop it for
certain columns?
From the API docs for update_all :
“It does not instantiate the involved models and it does NOT trigger
Active Record callbacks”
Hope this helps!
Simon
Simon wrote:
From the API docs for update_all :
“It does not instantiate the involved models and it does NOT trigger
Active Record callbacks”Hope this helps!
Simon
It still seems to run before_save.