Actions
Bug #4991
open[API] Make user.send_profile_created_notification detect preference changes better
Start date:
01/15/2015
Due date:
% Done:
0%
Estimated time:
Story points:
1.0
Description
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.
Actions