Sha256: e5004fa1f0b31c45521dfa3e52dfd1aed838ed894575cef9083acb43dafe000c

Contents?: true

Size: 258 Bytes

Versions: 10

Compression:

Stored size: 258 Bytes

Contents

els = %w(
          RubyDeveloper JavascriptDeveloper ClojureDeveloper
          ScalaDeveloper PythonDeveloper GoDeveloper
        )

say "Creating #{els.size} specialties ...".yellow

els.each do |el|
  Gaku::Specialty.where(name: el).first_or_create!
end

Version data entries

10 entries across 10 versions & 2 rubygems

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