Add a browse page for bugs
This commit is contained in:
parent
c22958faed
commit
01aa270315
7 changed files with 122 additions and 3 deletions
|
@ -3,8 +3,7 @@ class MapBugComment < ActiveRecord::Base
|
|||
set_table_name 'map_bug_comment'
|
||||
|
||||
belongs_to :map_bug, :foreign_key => 'bug_id'
|
||||
|
||||
|
||||
belongs_to :user, :foreign_key => 'commenter_id'
|
||||
|
||||
validates_presence_of :id, :on => :update
|
||||
validates_uniqueness_of :id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue