APIdock / Ruby on Rails
/
Browse About
method

db_configs_in_current_env

v7.1.3.2 - Show latest stable - Class: ActiveRecord::Migration
db_configs_in_current_env()
private

No documentation available.

# File activerecord/lib/active_record/migration.rb, line 766
        def db_configs_in_current_env
          ActiveRecord::Base.configurations.configs_for(env_name: env)
        end

Related methods

  • Instance methods
  • announce
  • connection
  • copy
  • disable_ddl_transaction
  • down
  • exec_migration
  • execution_strategy
  • method_missing
  • migrate
  • next_migration_number
  • proper_table_name
  • reversible
  • revert
  • reverting?
  • run
  • say
  • say_with_time
  • suppress_messages
  • table_name_options
  • up
  • up_only
  • write
  • Class methods
  • []
  • check_all_pending!
  • check_pending!
  • check_pending_migrations
  • current_version
  • disable_ddl_transaction!
  • inherited
  • load_schema_if_pending!
  • maintain_test_schema!
  • method_missing
  • migrate
  • nearest_delegate
  • new
  • valid_version_format?
  • Private methods
  • privateany_schema_needs_update?
  • privatedb_configs_in_current_env
  • privateenv
  • privatepending_migrations
  • privatecommand_recorder
  • privateexecute_block
  • privateformat_arguments
  • privateinternal_option?
APIdock API Documentation Browser

© 2026 APIdock