]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/report.rb
Fixed existing tests
[rails.git] / app / models / report.rb
index 5b238dcaccae0eb5e311c3b30bc961abc99378cc..f997215a8b062b6cf28e037767e98fbe6786ced8 100644 (file)
@@ -1,5 +1,5 @@
 class Report < ActiveRecord::Base
        belongs_to :issue
-       belongs_to :user
+       belongs_to :user, :class_name => "User", :foreign_key => :reporter_user_id
        
 end