Sha256: 11e0a68a6206cea977eb0e0277f270ea2a55f2040cfcf40820e300689f9b6533

Contents?: true

Size: 487 Bytes

Versions: 27

Compression:

Stored size: 487 Bytes

Contents

# 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

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
activestorage-5.2.3.rc1 lib/tasks/activestorage.rake
activestorage-5.2.2.1 lib/tasks/activestorage.rake
activestorage-5.2.2 lib/tasks/activestorage.rake
activestorage-5.2.2.rc1 lib/tasks/activestorage.rake
activestorage-5.2.1.1 lib/tasks/activestorage.rake
activestorage-5.2.1 lib/tasks/activestorage.rake
activestorage-5.2.1.rc1 lib/tasks/activestorage.rake