Sha256: 87204e0d0b27b7b5e32110fe6ef5d36d0b558749c5e6d12f7619a738dd5c1752

Contents?: true

Size: 255 Bytes

Versions: 10

Compression:

Stored size: 255 Bytes

Contents

# encoding: utf-8
require 'shared_sample_data'

say "Creating #{@count[:disposals]} course groups ...".yellow

batch_create(@count[:disposals]) do
  Gaku::CourseGroup.where(name: "#{Faker::Education.major} CourseGroup", deleted: true).first_or_create!
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
gaku-0.1.1 sample/db/sample/gaku/disposals/course_group_disposals.rb
gaku_sample-0.1.1 db/sample/gaku/disposals/course_group_disposals.rb
gaku-0.1.0 sample/db/sample/gaku/disposals/course_group_disposals.rb
gaku_sample-0.1.0 db/sample/gaku/disposals/course_group_disposals.rb
gaku_sample-0.0.3 db/sample/gaku/disposals/course_group_disposals.rb
gaku-0.0.3 sample/db/sample/gaku/disposals/course_group_disposals.rb
gaku-0.0.2 sample/db/sample/gaku/disposals/course_group_disposals.rb
gaku_sample-0.0.2 db/sample/gaku/disposals/course_group_disposals.rb
gaku-0.0.1 sample/db/sample/gaku/disposals/course_group_disposals.rb
gaku_sample-0.0.1 db/sample/gaku/disposals/course_group_disposals.rb