]> git.openstreetmap.org Git - rails.git/blob - app/models/old_way_node.rb
Eager load node and way details when processing a map call.
[rails.git] / app / models / old_way_node.rb
1 class OldWayNode < ActiveRecord::Base
2   set_table_name 'way_nodes'
3
4   set_primary_keys :id, :version, :sequence_id
5
6   belongs_to :way, :foreign_key=> :id
7 end