]> git.openstreetmap.org Git - rails.git/blob - app/models/way_node.rb
Tried to DRY the user_blocks controller. Moved the configuration of the blocking...
[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