Answers for "run rake task in rails console"

0

run rake task rails

$ bin/rake task_name
Posted by: Guest on April-30-2021
0

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
0

rails run rake task

rails raketaskname:task
Posted by: Guest on October-19-2021

Browse Popular Code Answers by Language