From 3abeeb7f41302c785306b241d0e7afdda16b3247 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 26 Jun 2020 19:40:37 +0100 Subject: [PATCH] Require open3 before using it --- app/models/trace.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/trace.rb b/app/models/trace.rb index 49e4a041b..5496bec45 100644 --- a/app/models/trace.rb +++ b/app/models/trace.rb @@ -26,6 +26,8 @@ # class Trace < ApplicationRecord + require "open3" + self.table_name = "gpx_files" belongs_to :user, :counter_cache => true -- 2.39.5