From 5b4e81beefb56a563f1dcc335cf318bfd42f09ad Mon Sep 17 00:00:00 2001 From: Chris Oliver Date: Fri, 19 Jan 2024 10:35:48 -0600 Subject: [PATCH] Update UPGRADE.md --- UPGRADE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UPGRADE.md b/UPGRADE.md index 4d27be0c..88bf277a 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -28,7 +28,7 @@ end # Migrate each record to the new tables Notification.find_each do |notification| - attributes = notification.attributes.slice("id", "type").with_indifferent_access + attributes = notification.attributes.slice("type").with_indifferent_access attributes[:type] = attributes[:type].sub("Notification", "Notifier") attributes[:params] = Noticed::Coder.load(notification.params) attributes[:params] = {} if attributes[:params].try(:has_key?, "noticed_error") # Skip invalid records