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.8.1 lib/tasks/activestorage.rake
activestorage-5.2.8 lib/tasks/activestorage.rake
activestorage-5.2.7.1 lib/tasks/activestorage.rake
activestorage-5.2.7 lib/tasks/activestorage.rake
activestorage-5.2.6.3 lib/tasks/activestorage.rake
activestorage-5.2.6.2 lib/tasks/activestorage.rake
activestorage-5.2.6.1 lib/tasks/activestorage.rake
activestorage-5.2.6 lib/tasks/activestorage.rake
activestorage-5.2.4.6 lib/tasks/activestorage.rake
activestorage-5.2.5 lib/tasks/activestorage.rake
activestorage-5.2.4.5 lib/tasks/activestorage.rake
activestorage-5.2.4.4 lib/tasks/activestorage.rake
activestorage-5.2.4.3 lib/tasks/activestorage.rake
activestorage-5.2.4.2 lib/tasks/activestorage.rake
activestorage-5.2.4.1 lib/tasks/activestorage.rake
activestorage-5.2.4 lib/tasks/activestorage.rake
activestorage-5.2.4.rc1 lib/tasks/activestorage.rake
spiral_form-0.1.1 vendor/bundle/gems/activestorage-5.2.3/lib/tasks/activestorage.rake
spiral_form-0.1.0 vendor/bundle/gems/activestorage-5.2.3/lib/tasks/activestorage.rake
activestorage-5.2.3 lib/tasks/activestorage.rake