Fix erroneous reference to AR class
9e818cde
introduced a bug by making an erroneous reference to `ActiveRecord::Associations::JoinDependency` in line 187. As this class lives inside an `ActiveRecord` module, that reference needs to be absolute in order to properly point at AR's class.
This commit is contained in:
parent
448f8c174e
commit
12c6b8f125
|
@ -184,7 +184,7 @@ module Ransack
|
|||
:string_join
|
||||
when Hash, Symbol, Array
|
||||
:association_join
|
||||
when ActiveRecord::Associations::JoinDependency
|
||||
when ::ActiveRecord::Associations::JoinDependency
|
||||
:stashed_join
|
||||
when Arel::Nodes::Join
|
||||
:join_node
|
||||
|
|
Loading…
Reference in New Issue