Answers for "rails dry run my rake task"

1

run rake task in rails console

require 'rake'
Rails.application.load_tasks # <-- MISSING LINE
Rake::Task['my_task'].invoke
Posted by: Guest on November-16-2021

Browse Popular Code Answers by Language