Remove unused/useless constant aliases #953
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ActiveRecord::Associations::ClassMethods::*
ActiveRecord::Associations::ClassMethods::*
had already been moved toActiveRecord::Associations::*
since Rails 3.1.See rails/rails@b171b9e
Arel::{InnerJoin,OuterJoin}
Arel::Nodes::{InnerJoin,OuterJoin}
exists since Arel 2.2 still today.https://github.com/rails/arel/blame/v9.0.0/lib/arel/nodes/inner_join.rb
https://github.com/rails/arel/blame/v9.0.0/lib/arel/nodes/outer_join.rb
JoinDependency
Originally it looks like for using shorter name in this file since
ActiveRecord::Associations::ClassMethods::JoinDependency
was too long.I think we can just use
Polyamorous::JoinDependency
existent alias.JoinBase
JoinBase#active_record
no longer exist since Rails 4.0.See rails/rails#10151