]> git.openstreetmap.org Git - rails.git/blob - app/models/diary_comment.rb
(0.5) use npe.osm.org for all except zoom level 14 (still richard.dev.osm.org for...
[rails.git] / app / models / diary_comment.rb
1 class DiaryComment < ActiveRecord::Base
2   belongs_to :user
3   belongs_to :diary_entry
4
5   validates_presence_of :body
6   validates_associated :diary_entry
7 end