Sha256: 10b846a196e8056fb8d072b94e917b6a9023f86294c3932fdffbabc666114253
Contents?: true
Size: 348 Bytes
Versions: 4
Compression:
Stored size: 348 Bytes
Contents
# frozen_string_literal: true module Decidim module Gamification class BadgeScore < ApplicationRecord self.table_name = "decidim_gamification_badge_scores" belongs_to :user, class_name: "Decidim::User" validates :user, presence: true validates :value, numericality: { greater_than_or_equal_to: 0 } end end end
Version data entries
4 entries across 4 versions & 1 rubygems