]> git.openstreetmap.org Git - rails.git/blob - app/models/old_way_node.rb
Go back to using to_sentence now that we are using rails 2.3 for the site.
[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