]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/changeset.rb
changing the belongs_to and has_many items in the models to reflect the new foriegn...
[rails.git] / app / models / changeset.rb
index c9eeb0018371cf1b9107fabbf9c487c167f8a22b..04023ae2b94a6f883966b4aead228ac57508d439 100644 (file)
@@ -4,6 +4,13 @@ class Changeset < ActiveRecord::Base
   belongs_to :user
 
   has_many :changeset_tags, :foreign_key => 'id'
+  
+  has_many :nodes
+  has_many :ways
+  has_many :relations
+  has_many :old_nodes
+  has_many :old_ways
+  has_many :old_relations
 
   def self.from_xml(xml, create=false)
     begin