mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
2a53fe638d
Database configurations are now objects almost everywhere, so we don't need to fake access to a hash with `#default_hash` or it's alias `#[]`. Applications should `configs_for` and pass `env_name` and `spec_name` to get the database config object. If you're looking for the default for the test environment you can pass `configs_for(env_name: "test", spec_name: "primary")`. Change test to developement to get the dev config, etc. `#default_hash` and `#[]` will be removed in 6.2. Co-authored-by: John Crepezzi <john.crepezzi@gmail.com> |
||
---|---|---|
.. | ||
configuration | ||
initializers | ||
middleware | ||
rack | ||
rake | ||
asset_debugging_test.rb | ||
assets_test.rb | ||
bin_setup_test.rb | ||
configuration_test.rb | ||
console_test.rb | ||
content_security_policy_test.rb | ||
credentials_test.rb | ||
current_attributes_integration_test.rb | ||
dbconsole_test.rb | ||
feature_policy_test.rb | ||
generators_test.rb | ||
help_test.rb | ||
integration_test_case_test.rb | ||
loading_test.rb | ||
mailer_previews_test.rb | ||
middleware_test.rb | ||
multiple_applications_test.rb | ||
paths_test.rb | ||
per_request_digest_cache_test.rb | ||
rackup_test.rb | ||
rake_test.rb | ||
rendering_test.rb | ||
routing_test.rb | ||
runner_test.rb | ||
server_test.rb | ||
system_test_case_test.rb | ||
test_runner_test.rb | ||
test_test.rb | ||
url_generation_test.rb | ||
version_test.rb | ||
watcher_test.rb | ||
zeitwerk_integration_test.rb |