From 4c3c0ef908062408e1d2c7115a8d11ee2980ec52 Mon Sep 17 00:00:00 2001 From: Miha Mencin Date: Mon, 25 Mar 2019 15:45:10 +0100 Subject: [PATCH] removing activity creation from demo project --- app/utilities/delayed_uploader_demo.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/utilities/delayed_uploader_demo.rb b/app/utilities/delayed_uploader_demo.rb index f1c8ce97d..e8a5a9f80 100644 --- a/app/utilities/delayed_uploader_demo.rb +++ b/app/utilities/delayed_uploader_demo.rb @@ -56,16 +56,5 @@ module DelayedUploaderDemo created_at: created_at, result: result ) - Activity.new( - type_of: :add_comment_to_result, - user: user, - project: result.my_module.experiment.project, - my_module: result.my_module, - created_at: created_at, - updated_at: created_at, - message: I18n.t('activities.add_comment_to_result', - user: user.full_name, - result: result.name) - ).sneaky_save end end