Ephemeral notifications were extracting record from params. This is done for regular notifications to assign it to the polymorphic association but that is not present with Ephemeral notifications. We can skip that step for Ephemeral notifications and delegate record to the params (this part was already being done).
Ephemeral notifications were extracting
record
from params. This is done for regular notifications to assign it to the polymorphic association but that is not present with Ephemeral notifications. We can skip that step for Ephemeral notifications and delegaterecord
to theparams
(this part was already being done).See #445