From 66a80eacd044985331d04551120a47fe71dc587e Mon Sep 17 00:00:00 2001 From: chiu Date: Mon, 19 Aug 2019 15:15:45 +0800 Subject: [PATCH] =?UTF-8?q?Update=20journal=5Fpaper.rb=20=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E8=A8=BB=E8=A7=A3=EF=BC=8C=E5=9B=A0=E7=82=BA=E6=B2=92?= =?UTF-8?q?=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/journal_paper.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/models/journal_paper.rb b/app/models/journal_paper.rb index fdabd5e..a9aefb2 100644 --- a/app/models/journal_paper.rb +++ b/app/models/journal_paper.rb @@ -159,13 +159,13 @@ class JournalPaper # member_data.to_json # end - def save_journal_paper_files - self.journal_paper_files.each do |t| - if t.should_destroy - t.destroy - end - end - end + # def save_journal_paper_files + # self.journal_paper_files.each do |t| + # if t.should_destroy + # t.destroy + # end + # end + # end # def save_journal_paper_authors # self.journal_paper_authors.each do |t|