From 2a8cc7bdbc453ce57158ffdd0795fc119085da89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Mon, 13 Jun 2016 16:32:42 +0200 Subject: [PATCH] Remove invalid callback :attachment_removed does not exist on `CostObject`. --- app/models/cost_object.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/cost_object.rb b/app/models/cost_object.rb index cc813f7505..3d59dd0f32 100644 --- a/app/models/cost_object.rb +++ b/app/models/cost_object.rb @@ -29,8 +29,7 @@ class CostObject < ActiveRecord::Base include ActiveModel::ForbiddenAttributesProtection - acts_as_attachable after_remove: :attachment_removed - + acts_as_attachable acts_as_journalized acts_as_event type: 'cost-objects',