Sha256: e28e41c8ec279c6d47dabee6fb04a3d7414278f78e3fd0826af3be7345e7653f

Contents?: true

Size: 250 Bytes

Versions: 16

Compression:

Stored size: 250 Bytes

Contents

els = %w( Tennis Football Basketball Handball Climbing Running Swimming Rugby PingPong Chess Fitness )

say "Creating #{els.size} extracurricular activities ...".yellow
els.each { |el| Gaku::ExtracurricularActivity.where(name: el).first_or_create! }

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
gaku_sample-0.3.0 db/sample/gaku/extracurricular_activities.rb
gaku_sample-0.3.0.pre.4 db/sample/gaku/extracurricular_activities.rb
gaku_sample-0.3.0.pre.3 db/sample/gaku/extracurricular_activities.rb
gaku_sample-0.3.0.pre.2 db/sample/gaku/extracurricular_activities.rb
gaku_sample-0.3.0.pre.1 db/sample/gaku/extracurricular_activities.rb
gaku_sample-0.3.0.pre.0 db/sample/gaku/extracurricular_activities.rb
gaku-0.2.4 sample/db/sample/gaku/extracurricular_activities.rb
gaku_sample-0.2.4 db/sample/gaku/extracurricular_activities.rb
gaku-0.2.3 sample/db/sample/gaku/extracurricular_activities.rb
gaku_sample-0.2.3 db/sample/gaku/extracurricular_activities.rb
gaku-0.2.2 sample/db/sample/gaku/extracurricular_activities.rb
gaku_sample-0.2.2 db/sample/gaku/extracurricular_activities.rb
gaku-0.2.1 sample/db/sample/gaku/extracurricular_activities.rb
gaku_sample-0.2.1 db/sample/gaku/extracurricular_activities.rb
gaku-0.2.0 sample/db/sample/gaku/extracurricular_activities.rb
gaku_sample-0.2.0 db/sample/gaku/extracurricular_activities.rb