Sha256: aa4a4511027ceaac992f1087970b17d47217486eb36800aef26ea7d1a7544994
Contents?: true
Size: 320 Bytes
Versions: 25
Compression:
Stored size: 320 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::UserBaseEntity" validates :value, numericality: { greater_than_or_equal_to: 0 } end end end
Version data entries
25 entries across 25 versions & 1 rubygems