diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-05-06 06:02:01 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-06-29 23:09:05 +0900 |
commit | d9fca84d218f0ed784c7bf6470df42d41838e507 (patch) | |
tree | edb7f0595cb56f93adc833bc4dae69b7d586df9b /activerecord/lib/active_record/railtie.rb | |
parent | 4448873c8755524ccadd639d1a08df53496c36d7 (diff) | |
download | rails-d9fca84d218f0ed784c7bf6470df42d41838e507.tar.gz rails-d9fca84d218f0ed784c7bf6470df42d41838e507.tar.bz2 rails-d9fca84d218f0ed784c7bf6470df42d41838e507.zip |
Deprecate delegating to `arel` in `Relation`
Active Record doesn't rely delegating to `arel` in the internal since
425f2ca. 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 b06f64c (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.
Diffstat (limited to 'activerecord/lib/active_record/railtie.rb')
0 files changed, 0 insertions, 0 deletions