]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/trace.rb
Require open3 before using it
[rails.git] / app / models / trace.rb
index 49e4a041b8512bc1519d0dd0870e70ea681c4177..5496bec45977f71e9d0d83aad5a3198b71f50ac0 100644 (file)
@@ -26,6 +26,8 @@
 #
 
 class Trace < ApplicationRecord
 #
 
 class Trace < ApplicationRecord
+  require "open3"
+
   self.table_name = "gpx_files"
 
   belongs_to :user, :counter_cache => true
   self.table_name = "gpx_files"
 
   belongs_to :user, :counter_cache => true