lib/tasks/record_loader/request_type_validators.rake
# frozen_string_literal: true
# This file was automatically generated via `rails g record_loader`
namespace :record_loader do
desc 'Automatically generate RequestTypeValidators through RequestTypeValidatorsLoader'
task request_type_validators: [:environment, 'record_loader:request_type'] do
RecordLoader::RequestTypeValidatorsLoader.new.create!
end
end
# Automatically run this record loader as part of record_loader:all
# Remove this line if the task should only run when invoked explicitly
task 'record_loader:all' => 'record_loader:request_type_validators'