Sha256: 37377e941a9d95f135dd86f74cc0d3f96aba9d144261fd1d13a66fa9498f2378
Contents?: true
Size: 357 Bytes
Versions: 10
Compression:
Stored size: 357 Bytes
Contents
module Gradable extend ActiveSupport::Concern included do has_many :grading_method_connectors, as: :gradable has_many :grading_methods, through: :grading_method_connectors end def use_primary_grading_method_set if Gaku::GradingMethodSet.primary grading_methods << Gaku::GradingMethodSet.primary.grading_methods end end end
Version data entries
10 entries across 10 versions & 2 rubygems