Sha256: 67de3bb51ed9571ade783c8f53fe7152c596fc380b49b7c41a577d156c6765fd
Contents?: true
Size: 665 Bytes
Versions: 16
Compression:
Stored size: 665 Bytes
Contents
grading_methods = [ { name: 'Score', grading_type: 'score', description: 'Straight Score', curved: false }, { name: 'Curved Score', grading_type: 'score', description: 'Curved Score', curved: true }, { name: 'Percentage', grading_type: 'percentage', description: 'Straight Percentage', curved: false }, { name: 'Curved Percentage', grading_type: 'percentage', description: 'Curved Percentage', curved: true } ] say "Creating #{grading_methods.size} grading methods ...".yellow grading_methods.each do |grading_method| Gaku::GradingMethod.where(grading_method).first_or_create! end
Version data entries
16 entries across 16 versions & 2 rubygems