mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 12:24:55 +00:00
Since Rails 5.2, the behavior of `attribute_changed?` inside `after_save` callbacks has changed, so we need to use `saved_change_to_attribute` instead. The site setting local_process_provider in test mode was covering up the issue.