BenMusch/nu-tab

View on GitHub
lib/tasks/dev.rake

Summary

Maintainability
Test Coverage
Missing magic comment `# frozen_string_literal: true`.
if Rails.env.development? || Rails.env.test?
Prefer single-quoted strings when you don't need string interpolation or special symbols.
require "factory_girl"
 
namespace :dev do
Prefer single-quoted strings when you don't need string interpolation or special symbols.
desc "Sample data for local development environment"
Prefer single-quoted strings when you don't need string interpolation or special symbols.
task prime: "db:setup" do
include FactoryGirl::Syntax::Methods
 
# create(:user, email: "user@example.com", password: "password")
end
end
end