Flowdock
method

existing_migration

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: CreateMigration
existing_migration() 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 32
        def existing_migration
          @existing_migration ||= begin
            @base.class.migration_exists?(migration_dir, migration_file_name) ||
            File.exist?(@destination) && @destination
          end
        end
Register or log in to add new notes.