]> git.openstreetmap.org Git - rails.git/blob - app/models/report.rb
Remove some more of the structured-details stuff
[rails.git] / app / models / report.rb
1 class Report < ActiveRecord::Base
2   belongs_to :issue, :counter_cache => true
3   belongs_to :user, :class_name => "User", :foreign_key => :reporter_user_id
4
5   validates :details, :presence => true
6 end