Remove bogus sort that is implied by the intermate association
This commit is contained in:
parent
f3166176d7
commit
191af4a8b4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue