projects
/
rails.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add a scale control to the map. Closes #51.
[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