diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-28 00:09:29 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-28 00:09:29 +0900 |
commit | a1ec8b5b512f2cdf7ed9fd1d9f512bd49087891a (patch) | |
tree | 586381690ed196b8883499e78b4b94c4bd6fce89 /activerecord | |
parent | 4b3ee155f916a60da34c4f3df72b83adc891779e (diff) | |
download | rails-a1ec8b5b512f2cdf7ed9fd1d9f512bd49087891a.tar.gz rails-a1ec8b5b512f2cdf7ed9fd1d9f512bd49087891a.tar.bz2 rails-a1ec8b5b512f2cdf7ed9fd1d9f512bd49087891a.zip |
Remove unused `RuntimeReflection#alias_candidate`
`RuntimeReflection#alias_candidate` is no longer used since 0408e212.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/reflection.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb index e35049bb41..97a98235d9 100644 --- a/activerecord/lib/active_record/reflection.rb +++ b/activerecord/lib/active_record/reflection.rb @@ -1100,10 +1100,6 @@ module ActiveRecord @reflection.constraints end - def alias_candidate(name) - "#{plural_name}_#{name}_join" - end - def alias_name Arel::Table.new(table_name, type_caster: klass.type_caster) end |