Bubble events can be deleted
This commit is contained in:
@@ -2,7 +2,7 @@ module Bubble::Eventable
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
has_many :events, dependent: :destroy
|
||||
has_many :events, dependent: :delete_all
|
||||
|
||||
after_create -> { track_event :created }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user