chore: init commit

in worker.../repo/GITFOLDER.zip is the .git folder.
This commit is contained in:
2026-08-11 14:44:09 -04:00
parent 0012380fd3
commit 2854619bc9
782 changed files with 65944 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# Create grade levels 5-8
Classroom::GRADE_RANGE.each do |level|
# Create the grade name with proper ordinal (5th, 6th, 7th, etc.)
grade_name = "#{level.ordinalize} Grade"
grade = Grade.find_or_create_by(level: level) do |g|
g.name = grade_name
end
# Update name if it's not following the convention
if grade.persisted? && grade.name != grade_name
grade.update!(name: grade_name)
end
end