]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/node_tag.rb
Create an ApplicationRecord for models to inherit from
[rails.git] / app / models / node_tag.rb
index 86404599b266de54e2896473cbb4abfdb0b10697..fa21b1ff6fdd60b2c813e7bd7979ee6b5a140837 100644 (file)
@@ -11,7 +11,7 @@
 #  current_node_tags_id_fkey  (node_id => current_nodes.id)
 #
 
-class NodeTag < ActiveRecord::Base
+class NodeTag < ApplicationRecord
   self.table_name = "current_node_tags"
   self.primary_keys = "node_id", "k"