Sha256: 909a6fea45663ac8268958d4dc45390977a6af996cec75e30defff2a84c852f7

Contents?: true

Size: 340 Bytes

Versions: 3

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

if Rails.env.development? || Rails.env.test?
  require 'factory_bot'

  namespace :dev do
    desc 'Sample data for local development environment'
    task prime: 'db:setup' do
      include FactoryBot::Syntax::Methods

      # create(:user, email: "user@example.com", password: "password")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
underlay-2.0 templates/dev.rake
underlay-1.52.1 templates/dev.rake
underlay-1.50.1 templates/dev.rake