Permalink
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 309 Bytes
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