belongs_to :reportable, :polymorphic => true
has_many :reports
validates :reportable_id, :uniqueness => { :scope => [ :reportable_type ] }
- belongs_to :user_id
+ belongs_to :user
# Check if more statuses are needed
enum status: %w( open ignored resolved )