]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/node.rb
changing the belongs_to and has_many items in the models to reflect the new foriegn...
[rails.git] / app / models / node.rb
index 6770231790735b0ffc4e3f1957e5d4598de8e3df..2efdb1bc93b58ce7f73c38bf67425c5123bb462d 100644 (file)
@@ -10,7 +10,7 @@ class Node < ActiveRecord::Base
   validates_numericality_of :latitude, :longitude
   validate :validate_position
 
-  belongs_to :user
+  belongs_to :changeset
 
   has_many :old_nodes, :foreign_key => :id