X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a9ff3bfc4b94530debc35bee33ee7558d0f7b61d..0dba53c0232385f0fd080266f9a5ce3665426293:/app/models/node.rb diff --git a/app/models/node.rb b/app/models/node.rb index 3a1d580e0..1aff4101e 100644 --- a/app/models/node.rb +++ b/app/models/node.rb @@ -8,7 +8,7 @@ class Node < ActiveRecord::Base belongs_to :changeset - has_many :old_nodes, :foreign_key => :id + has_many :old_nodes, :foreign_key => :id, :order => :version has_many :way_nodes has_many :ways, :through => :way_nodes