[API] Make user.send_profile_created_notification detect preference changes better
In Rails 3.2.0, a serialized field (like
User.prefs) is always written when the field is saved, and the synthetic
_changed? method always returns false. See https://github.com/rails/rails/issues/8328 for more context.
This means that
User.send_profile_created_notification should never have worked in the first place:
def send_profile_created_notification if self.prefs_changed? ... end end
Check to see if we need to fix this and how.