私が持っているとしましょう
class Notification
    include Mongoid::Document
    field :noteworthy, type: Boolean, default: true
    # some kind of relation to a source
    before_create :remove_noise
    def remove_noise
        notification = Notification.last
        if notification.source_id == self.source_id
            notification.update_attribute(:noteworthy, false)
        end 
    end
end
通知のソースが mongoid::document モデルのいずれかである可能性がある場合にこれを行う方法はありますか?
使用例:
注目すべき通知、つまり異なるモデルからの通知のみを表示する通知センターを作成したいと考えています。