aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/join_dependency
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/associations/join_dependency')
-rw-r--r--activerecord/lib/active_record/associations/join_dependency/join_association.rb6
-rw-r--r--activerecord/lib/active_record/associations/join_dependency/join_base.rb5
-rw-r--r--activerecord/lib/active_record/associations/join_dependency/join_part.rb4
3 files changed, 0 insertions, 15 deletions
diff --git a/activerecord/lib/active_record/associations/join_dependency/join_association.rb b/activerecord/lib/active_record/associations/join_dependency/join_association.rb
index e2ac892e71..3f9afa8992 100644
--- a/activerecord/lib/active_record/associations/join_dependency/join_association.rb
+++ b/activerecord/lib/active_record/associations/join_dependency/join_association.rb
@@ -33,12 +33,6 @@ module ActiveRecord
def parent_table_name; parent.table_name; end
alias :alias_suffix :parent_table_name
- def ==(other)
- other.class == self.class &&
- other.reflection == reflection &&
- other.parent == parent
- end
-
def join_constraints
joins = []
tables = @tables.dup
diff --git a/activerecord/lib/active_record/associations/join_dependency/join_base.rb b/activerecord/lib/active_record/associations/join_dependency/join_base.rb
index c90ae80e4a..d3bc3dd1ad 100644
--- a/activerecord/lib/active_record/associations/join_dependency/join_base.rb
+++ b/activerecord/lib/active_record/associations/join_dependency/join_base.rb
@@ -8,11 +8,6 @@ module ActiveRecord
super(klass, nil)
end
- def ==(other)
- other.class == self.class &&
- other.base_klass == base_klass
- end
-
def aliased_prefix
"t0"
end
diff --git a/activerecord/lib/active_record/associations/join_dependency/join_part.rb b/activerecord/lib/active_record/associations/join_dependency/join_part.rb
index 3e9bdbfbab..b8ce8ff46d 100644
--- a/activerecord/lib/active_record/associations/join_dependency/join_part.rb
+++ b/activerecord/lib/active_record/associations/join_dependency/join_part.rb
@@ -48,10 +48,6 @@ module ActiveRecord
Arel::Nodes::TableAlias.new table, aliased_table_name
end
- def ==(other)
- raise NotImplementedError
- end
-
# An Arel::Table for the active_record
def table
raise NotImplementedError