lib/tasks/dev.rake
Block has too many lines. [55/25] Open
Open
namespace :dev do
desc "Sample data for local development environment"
task :prime, [:email] => ["db:setup"] do |_task, args|
include FactoryGirl::Syntax::Methods
- Read upRead up
- Exclude checks
This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.