rails/activerecord/lib/arel
Jean Boussier 7263da542b Deprecate ConnectionPool#connection
Replaced by `#lease_connection` to better reflect what it does.

`ActiveRecord::Base#connection` is deprecated in the same way
but without a removal timeline nor a deprecation warning.

Inside the Active Record test suite, we do remove `Base.connection`
to ensure it's not used internally.

Some callsites have been converted to use `with_connection`,
some other have been more simply migrated to `lease_connection`
and will serve as a list of callsites to convert for
https://github.com/rails/rails/pull/50793
2024-03-01 14:32:55 +01:00
..
attributes Remove unused Arel::Attributes classes 2021-03-11 11:50:42 +09:00
collectors Fix binds logging for HomogeneousIn 2021-02-25 20:37:20 -05:00
nodes Deprecate ConnectionPool#connection 2024-03-01 14:32:55 +01:00
visitors Fix update_all/delete_all on CPK model relation with join subquery 2024-02-12 16:35:59 +00:00
alias_predication.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
crud.rb Use nested queries when doing DELETE and GROUP_BY and HAVINAG clauses present. 2021-11-01 21:39:20 -04:00
delete_manager.rb Use nested queries when doing DELETE and GROUP_BY and HAVINAG clauses present. 2021-11-01 21:39:20 -04:00
errors.rb Disallow Arel.sql with mixed named and positional binds 2023-01-29 08:40:30 +10:30
expressions.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
factory_methods.rb Adds Arel::FactoryMethods#cast(node, type) 2023-08-03 17:50:18 +10:00
filter_predications.rb Add nodoc to Arel filter classes. 2022-11-13 01:34:30 +01:00
insert_manager.rb Move where from TreeManager to SelectManager 2021-03-15 23:50:44 +09:00
math.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
nodes.rb Adds Arel::Nodes::Cte for use in WITH expressions 2023-05-24 19:19:21 -04:00
order_predications.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30
predications.rb call eq when begin and end are the same 2023-05-16 23:37:49 +09:00
select_manager.rb Replace map + compact with filter_map 2021-04-22 22:08:34 -03:00
table.rb This removes the writer method for table_alias from Arel::Table. Since arel_table is a private API of the framework, no one should be modifying it. 2023-08-10 20:20:13 -04:00
tree_manager.rb Deprecate ConnectionPool#connection 2024-03-01 14:32:55 +01:00
update_manager.rb Relation#where build BoundSqlLiteral rather than eagerly interpolate 2024-02-21 13:22:55 +01:00
visitors.rb Make where_sql more few code 2020-06-17 10:50:34 +09:00
window_predications.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30