Flowdock
method

configured_migrate_path

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::Generators::Migration
configured_migrate_path() private

No documentation

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

Hide source
# File activerecord/lib/rails/generators/active_record/migration.rb, line 38
        def configured_migrate_path
          return unless database = options[:database]
          config = ActiveRecord::Base.configurations.configs_for(
            env_name: Rails.env,
            spec_name: database,
          )
          config&.migrations_paths
        end
Register or log in to add new notes.