app/models/exercise.rb
Class Exercise
has 42 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Exercise < ApplicationRecord
RANDOMIZED_FIELDS = [:default_content, :description, :extra, :hint, :test, :expectations, :custom_expectations]
BASIC_RESOURCE_FIELDS = %i(
name layout editor corollary teacher_info manual_evaluation locale
choices assistance_rules randomizations tag_list extra_visible goal