class method
self.db_configs_in_current_env
Ruby on Rails edge
Since v7.1.6 Private — implementation detail, not part of the public APISignature
self.db_configs_in_current_env()
No documentation comment.
Source
# File activerecord/lib/active_record/migration.rb, line 771
def db_configs_in_current_env
ActiveRecord::Base.configurations.configs_for(env_name: env)
end
Defined in activerecord/lib/active_record/migration.rb line 771
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Migration