From: Tom Hughes Date: Fri, 26 Jun 2020 18:40:37 +0000 (+0100) Subject: Require open3 before using it X-Git-Tag: live~2609 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/3abeeb7f41302c785306b241d0e7afdda16b3247?ds=sidebyside;hp=4ab70b63c391c11f4eb9e914507662629c257c7e Require open3 before using it --- 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