]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/user.rb
Added IssueComments + ForeignKeys + Indexes
[rails.git] / app / models / user.rb
index 4a36b3e61e5c2dbca369528bae2356f7dcc87f22..3d262fd254a4c14f782b12c7198b9889a4887e13 100644 (file)
@@ -27,6 +27,8 @@ class User < ActiveRecord::Base
   has_many :roles, :class_name => "UserRole"
 
   has_many :issues
+  has_many :issue_comments
+  
   has_many :reports
 
   scope :visible, -> { where(:status => %w(pending active confirmed)) }