method

revoke!

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: CreateMigration
revoke!() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/actions/create_migration.rb, line 29
        def revoke!
          say_destination = exists? ? relative_existing_migration : relative_destination
          say_status :remove, :red, say_destination
          return unless exists?
          ::FileUtils.rm_rf(existing_migration) unless pretend?
          existing_migration
        end
Register or log in to add new notes.