has_many :old_ways
has_many :old_relations
- validates_presence_of :user_id, :created_at, :open
+ validates_presence_of :user_id, :created_at
validates_inclusion_of :open, :in => [ true, false ]
# Use a method like this, so that we can easily change how we
return cs
end
+ def tags_as_hash
+ return tags
+ end
+
def tags
unless @tags
@tags = {}