Question about beforeSave on ActiveRecord

I have noticed while debugging as if you invoke updateAttributes on your model, the beforeSave method are not being called, however model attributes are updated in the database… am I right? And if so, why?

Because it works directly on the database using ActiveRecord::updateAll() and not using save().

Thanks for the explanation, I will keep it in mind for next time I have to deal with it :)