]> git.openstreetmap.org Git - rails.git/blob - app/models/old_way_node.rb
Fixed syntax errors in nl.yml which broke the site, now loads with syck
[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   
8   # A bit messy, referring to current nodes, should do for the data browser for now
9   belongs_to :node
10 end