1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
eileencodes 777e6d95e4
Raise if connection_handlers is called in legacy_connection_handling
While we didn't need to deprecate any behavior when implementing
granular connection swapping it's not 100% clear to the person upgrading
that this needs to change when you switch off
`legacy_connection_handling`. The new version doesn't support
multiple handlers but before it wasn't raising an exception so it was
possible applications were still using it and hitting confusing errors.
This change ensures that if an application is using the new handling
that `connection_handlers` and `connection_handlers=` an exception will
be raised.
2020-11-17 08:38:05 -05:00
..
active_record Raise if connection_handlers is called in legacy_connection_handling 2020-11-17 08:38:05 -05:00
arel Properly support reverse_order on relations with nulls_first or nulls_last calls 2020-09-08 11:20:46 -04:00
rails/generators The abstract parent class file generated via generator should not be pluralized 2020-08-02 22:25:57 +05:30
active_record.rb Destroy associations in a background job. 2020-09-24 14:24:15 -04:00
arel.rb Merge pull request #38719 from eileencodes/refactor-fetch_attribute 2020-03-13 16:26:49 -04:00