Sha256: a5e37871dcd4de26e508327e6aab47df00787c71fde9fdc999082eba69dd9178
Contents?: true
Size: 336 Bytes
Versions: 9
Compression:
Stored size: 336 Bytes
Contents
class RailsExecution::TaskReview < RailsExecution::AppModel belongs_to :task validates :task, presence: true validates :status, presence: true enum status: { reviewing: 'reviewing', approved: 'approved', rejected: 'rejected', }, _prefix: :is scope :checked, -> { where(status: [:approved, :rejected]) } end
Version data entries
9 entries across 9 versions & 1 rubygems