]> git.openstreetmap.org Git - rails.git/blob - app/models/map_bug_comment.rb
Allow for different formats to the getBugs call
[rails.git] / app / models / map_bug_comment.rb
1 class MapBugComment < ActiveRecord::Base
2
3   set_table_name 'map_bug_comment'
4
5   belongs_to :map_bug, :foreign_key => 'bug_id'
6   
7   
8
9   validates_presence_of :id, :on => :update
10   validates_uniqueness_of :id
11   validates_presence_of :visible
12   validates_presence_of :date_created
13
14 end