mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
6b110d7528
This is a separate commit because I want it to be easy to revert if we change our minds. After some discussion I think it is confusing that you could swap shard but not role granularly in legacy mode. This change forces users to always either have global swapping until moved off legacy mode. This will prevent a situation where `AnimalsBase` can change the shard granularly but the role globally. |
||
---|---|---|
.. | ||
adapter_leasing_test.rb | ||
connection_handler_test.rb | ||
connection_handlers_multi_db_test.rb | ||
connection_handlers_multi_pool_config_test.rb | ||
connection_handlers_sharding_db_test.rb | ||
connection_swapping_nested_test.rb | ||
legacy_connection_handlers_multi_db_test.rb | ||
legacy_connection_handlers_sharding_db_test.rb | ||
merge_and_resolve_default_url_config_test.rb | ||
mysql_type_lookup_test.rb | ||
schema_cache_test.rb | ||
type_lookup_test.rb |