File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activestorage-5.2.8.1/lib/tasks/activestorage.rake
# frozen_string_literal: true
namespace :active_storage do
# Prevent migration installation task from showing up twice.
Rake::Task["install:migrations"].clear_comments
desc "Copy over the migration needed to the application"
task install: :environment do
if Rake::Task.task_defined?("active_storage:install:migrations")
Rake::Task["active_storage:install:migrations"].invoke
else
Rake::Task["app:active_storage:install:migrations"].invoke
end
end
end