Sha256: 5d5ef659c6e8d232303b96b342cb0045ad2e40d15532ab357b6aea6091018c39
Contents?: true
Size: 408 Bytes
Versions: 11
Compression:
Stored size: 408 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(general bug missing_feature), default: :general end end end
Version data entries
11 entries across 11 versions & 1 rubygems