Remove bogus sort that is implied by the intermate association

This commit is contained in:
Tom Hughes 2014-05-16 22:39:53 +01:00
parent f3166176d7
commit 191af4a8b4

View file

@ -12,7 +12,7 @@ class Way < ActiveRecord::Base
has_many :old_ways, -> { order(:version) }
has_many :way_nodes, -> { order(:sequence_id) }
has_many :nodes, -> { order("sequence_id") }, :through => :way_nodes
has_many :nodes, :through => :way_nodes
has_many :way_tags