Project

General

Profile

« Previous | Next » 

Revision 213e8060

Added by Ohad Levy over 7 years ago

refs #17545 - notifications should be deleted with blueprint

View differences:

app/models/notification_blueprint.rb
# separate, Notifications taking care of serving the content, and
# NotificationBlueprint of storing it.
class NotificationBlueprint < ActiveRecord::Base
has_many :notifications
has_many :notifications, :dependent => :destroy
belongs_to :subject, :polymorphic => true
store :actions, :accessors => [:links], :coder => JSON

Also available in: Unified diff