`JoinPart#==` is already replaced with `JoinPart#match?`
See e73fbdf804
.
This commit is contained in:
parent
49b908ae3d
commit
db462304a5
|
@ -20,13 +20,6 @@ module Polyamorous
|
|||
end
|
||||
end
|
||||
|
||||
# Reference: https://github.com/rails/rails/commit/9b15db5
|
||||
# NOTE: Not sure we still need it?
|
||||
#
|
||||
def ==(other)
|
||||
base_klass == other.base_klass
|
||||
end
|
||||
|
||||
def build_constraint(klass, table, key, foreign_table, foreign_key)
|
||||
if reflection.polymorphic?
|
||||
super(klass, table, key, foreign_table, foreign_key)
|
||||
|
|
|
@ -20,13 +20,6 @@ module Polyamorous
|
|||
end
|
||||
end
|
||||
|
||||
# Reference: https://github.com/rails/rails/commit/9b15db5
|
||||
# NOTE: Not sure we still need it?
|
||||
#
|
||||
def ==(other)
|
||||
base_klass == other.base_klass
|
||||
end
|
||||
|
||||
def build_constraint(klass, table, key, foreign_table, foreign_key)
|
||||
if reflection.polymorphic?
|
||||
super(klass, table, key, foreign_table, foreign_key)
|
||||
|
|
|
@ -19,13 +19,6 @@ module Polyamorous
|
|||
end
|
||||
end
|
||||
|
||||
# Reference: https://github.com/rails/rails/commit/9b15db5
|
||||
# NOTE: Not sure we still need it?
|
||||
#
|
||||
def ==(other)
|
||||
base_klass == other.base_klass
|
||||
end
|
||||
|
||||
def build_constraint(klass, table, key, foreign_table, foreign_key)
|
||||
if reflection.polymorphic?
|
||||
super(klass, table, key, foreign_table, foreign_key)
|
||||
|
|
Loading…
Reference in New Issue