]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way.rb
Remove some (hopefully) redundant code
[rails.git] / app / models / way.rb
index 1da048c96b00b39c3c2bd91028949bb531c9efa2..e78d0df0b048b2143cf8038ed7027c0f711bcf31 100644 (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