Deprecate delegating to `arel` in `Relation`
Active Record doesn't rely delegating to `arel` in the internal since 425f2cac. The delegation is a lower priority than delegating to `klass`, so it is pretty unclear which method is delegated to `arel`. For example, `bind_values` method was removed at b06f64c3 (a series of changes https://github.com/rails/rails/compare/79f71d3...b06f64c). But a relation still could respond to the method because `arel` also have the same named method (#28976). Removing the delegation will achieve predictable behavior.
Showing
想要评论请 注册 或 登录