Make sure asking a node for it's history returns an ordered list

This commit is contained in:
Tom Hughes 2011-09-14 10:16:44 +01:00
parent 70ac60ad4a
commit 15ab888d0c

View file

@ -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