Sha256: 6cae5b9d9cefd022ec8927b080e79484eaa73d1fd28204e7194ee47205dd66d8

Contents?: true

Size: 272 Bytes

Versions: 35

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true

# Create a default admin user (only in development)
if Rails.env.development? && !ENV["CI"]
  Admin::User.create_with(
    name:     `id -F`.strip,
    password: "password",
  ).find_or_create_by(email: "#{ENV['USER']}@katalyst.com.au")
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
katalyst-koi-4.7.3 db/seeds.rb
katalyst-koi-4.6.0 db/seeds.rb
katalyst-koi-4.5.9 db/seeds.rb
katalyst-koi-4.5.8 db/seeds.rb
katalyst-koi-4.5.7 db/seeds.rb
katalyst-koi-4.5.6 db/seeds.rb
katalyst-koi-4.5.5 db/seeds.rb
katalyst-koi-4.5.4 db/seeds.rb
katalyst-koi-4.5.3 db/seeds.rb
katalyst-koi-4.5.2 db/seeds.rb
katalyst-koi-4.5.1 db/seeds.rb
katalyst-koi-4.5.0 db/seeds.rb
katalyst-koi-4.5.0.beta.2 db/seeds.rb
katalyst-koi-4.5.0.beta.1 db/seeds.rb
katalyst-koi-4.4.1 db/seeds.rb
katalyst-koi-4.4.0 db/seeds.rb
katalyst-koi-4.3.5 db/seeds.rb
katalyst-koi-4.3.4 db/seeds.rb
katalyst-koi-4.3.3 db/seeds.rb
katalyst-koi-4.3.2 db/seeds.rb