From c22bc3b89f7b316a1e7b81eb3c89efa3a7b7517a Mon Sep 17 00:00:00 2001 From: Richard Hallett <rhallett@datacite.org> Date: Wed, 3 Jul 2024 15:12:19 +0200 Subject: [PATCH] Fix unknown attribute error for import --- app/models/datacite_doi.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/datacite_doi.rb b/app/models/datacite_doi.rb index 8c1b2e78b..ea58fc0e6 100644 --- a/app/models/datacite_doi.rb +++ b/app/models/datacite_doi.rb @@ -167,7 +167,6 @@ def self.import_in_bulk(ids, options = {}) :part_of_events, :version_events, :version_of_events, - :events, :metadata ) selected_dois.find_in_batches(batch_size: batch_size) do |dois|