mirror of
https://github.com/activerecord-hackery/ransack.git
synced 2022-11-09 13:47:45 -05:00
parent
49b908ae3d
commit
db462304a5
3 changed files with 0 additions and 21 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue