Sha256: 7dd9eee3e04da83536cdcba6f4de0f6f2245adf7a8a3be4b0d09b46bae1341f0
Contents?: true
Size: 643 Bytes
Versions: 6
Compression:
Stored size: 643 Bytes
Contents
# encoding: utf-8 class_groups = [ { name: 'Ms. Moore 3rd Grade', grade: 3 }, { name: 'Advanced', grade: 5 }, { name: 'Mr. Nagae', grade: 7 }, { name: 'A組', grade: 1 }, { name: 'A組', grade: 2 }, { name: 'さくら組', grade: 0 }, { name: 'マルチメディア専攻', grade: 1 }, { name: 'Mr.Kalkov', grade: 7 }, { name: 'Mr.Kagetsuki', grade: 7 }, { name: 'Mr.Tapalilov', grade: 7 }, { name: 'Mr.Georgiev', grade: 7 }, { name: 'Mrs.Kostova', grade: 7 } ] say "Creating #{class_groups.size} class groups ...".yellow class_groups.each do |class_group| Gaku::ClassGroup.where(class_group).first_or_create! end
Version data entries
6 entries across 6 versions & 2 rubygems