Sha256: 06eaffa8cca8433371252030796acd3c602d808db031711915e1a23b8349626e
Contents?: true
Size: 478 Bytes
Versions: 8
Compression:
Stored size: 478 Bytes
Contents
require_dependency "renalware/system" module Renalware module System class UserFeedback < ApplicationRecord extend Enumerize validates :author, presence: true validates :category, presence: true validates :comment, presence: true belongs_to :author, class_name: "User" enumerize :category, in: %i(urgent_bug non_urgent_bug missing_feature general_comment), default: :general_comment end end end
Version data entries
8 entries across 8 versions & 1 rubygems