]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way_tag.rb
api06: simplify exception handling and add exception handling to the diff
[rails.git] / app / models / way_tag.rb
index 101085f129a4e0989f7623b55d68c7456bfba86b..4548674d4b950607e2396ecc079da2e3951bba4c 100644 (file)
@@ -1,5 +1,9 @@
 class WayTag < ActiveRecord::Base
   set_table_name 'current_way_tags'
 
+  # False multipart keys. The following would be a hack:
+  # set_primary_keys :id, :k, :v
+  # FIXME add a real multipart key to waytags so that we can do eager loadin
+
   belongs_to :way, :foreign_key => 'id'
 end