# File app/models/concerns/settings/notifications_data.rb, line 14defnotify_when!(notification_event, value = true)
update(notifications_data:notifications_data.merge(String(notification_event) =>value))
end
# File app/models/concerns/settings/notifications_data.rb, line 10defnotify_when?(notification_event)
notifications_data[String(notification_event)]
end