Files
Eric Bell 392781f7aa chore: init commit
in worker.../repo/GITFOLDER.zip is the .git folder.
2026-08-11 14:44:09 -04:00

8 lines
283 B
Ruby

# frozen_string_literal: true
grade = Grade.find_by!(level: 6)
classroom = Classroom.find_or_initialize_by(name: "Smith's Sixth Grade", school_year: SchoolYear.first)
classroom.trading_enabled = true
classroom.grades << grade unless classroom.grades.include?(grade)
classroom.save!