We're going to add an `advanced_stats` report, and having 3 identical sets of methods would be too much duplication.
6 lines
107 B
Ruby
6 lines
107 B
Ruby
class Report < ApplicationRecord
|
|
KINDS = %i[results stats]
|
|
|
|
belongs_to :process, polymorphic: true
|
|
end
|