app/controllers/schedulers_controller.rb
Method visual_run
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def visual_run
action = Scheduler.find(params[:scheduler_id])
# https://stackoverflow.com/a/1076445
read, write = IO.pipe
@log = "Executing #{Rails.root.join(action.action)}\n"