Restore PushNotificationJob as shim for in-flight jobs during deploy

In-flight jobs queued before deploy would fail if the old class is
missing. This shim delegates to the new notification.push method.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Rosa Gutierrez
2026-01-23 22:04:23 +01:00
parent 126ccb5e3a
commit dbfb141b6f
+7
View File
@@ -0,0 +1,7 @@
class PushNotificationJob < ApplicationJob
discard_on ActiveJob::DeserializationError
def perform(notification)
notification.push
end
end