Sha256: c3c4edbb30408a83bc5be4747f939f35267625b4524f55901c3546e2a8040d84

Contents?: true

Size: 208 Bytes

Versions: 2

Compression:

Stored size: 208 Bytes

Contents

# frozen_string_literal: true

namespace :dirty_seed do
  desc 'Explaining what the task does'
  task seed: :environment do
    count = ENV['COUNT']&.to_i || 10
    DirtySeed::DataModel.seed(count)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dirty_seed-0.1.8 lib/tasks/dirty_seed_tasks.rake
dirty_seed-0.1.7 lib/tasks/dirty_seed_tasks.rake