From 7b8018c8fba8eddae690d15b4332e51c2b3874a4 Mon Sep 17 00:00:00 2001 From: Ryan Baumann Date: Fri, 17 Mar 2023 16:33:54 -0400 Subject: [PATCH] Update deprecated ERB invocation --- app/models/identifier.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/identifier.rb b/app/models/identifier.rb index 705e61cf8..59e662f8e 100644 --- a/app/models/identifier.rb +++ b/app/models/identifier.rb @@ -257,7 +257,7 @@ def file_template template_path = File.join(Rails.root, %w[data templates], "#{self.class.to_s.underscore}.xml.erb") - template = ERB.new(File.new(template_path).read, nil, '-') + template = ERB.new(File.new(template_path).read, trim_mode: '-') id = id_attribute n = n_attribute