]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/node_tag.rb
adding node tag models
[rails.git] / app / models / node_tag.rb
diff --git a/app/models/node_tag.rb b/app/models/node_tag.rb
new file mode 100644 (file)
index 0000000..9795ff4
--- /dev/null
@@ -0,0 +1,5 @@
+class NodeTag < ActiveRecord::Base
+  set_table_name 'current_node_tags'
+
+  belongs_to :node, :foreign_key => 'id'
+end