Vinoth Kannan 28be284b27
FIX: use active record update_attribute instead of mini sql. (#14367)
* DEV: use active record `save!` instead of mini sql.

The "save" method will trigger the before_save callback "match_primary_group_changes" for User model. Else `flair_group_id` won't be removed from the user.

* check whether the method `match_primary_group_changes` called or not.
2021-09-21 09:29:12 +08:00
..
2019-10-04 11:11:03 +10:00
2021-06-28 10:54:23 +08:00
2020-12-02 12:36:41 +05:30