Make sure the recorded first point for a trace really is the first
[rails.git] / app / models / user_preference.rb
1 class UserPreference < ActiveRecord::Base
2   belongs_to :user
3
4   # Turn this Node in to an XML Node without the <osm> wrapper.
5   def to_xml_node
6     el1 = XML::Node.new 'preference'
7     el1['k'] = self.k
8     el1['v'] = self.v
9     
10     return el1
11   end
12
13 end