]> git.openstreetmap.org Git - rails.git/blob - app/models/node_tag.rb
set the db encoding to utf-8, otherwise data is stored incorrectly in db. Can be...
[rails.git] / app / models / node_tag.rb
1 class NodeTag < ActiveRecord::Base
2   set_table_name 'current_node_tags'
3
4   belongs_to :node, :foreign_key => 'id'
5 end