]> git.openstreetmap.org Git - rails.git/blob - app/models/way_node.rb
fix so that changeset will be closed without an exception due to double validation
[rails.git] / app / models / way_node.rb
1 class WayNode < ActiveRecord::Base
2   set_table_name 'current_way_nodes'
3
4   set_primary_keys :id, :sequence_id
5   belongs_to :node
6
7   belongs_to :way, :foreign_key => :id
8 end