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:
Nahuel Cuesta Luengo 2015-03-28 19:33:56 -03:00
parent 448f8c174e
commit 12c6b8f125
1 changed files with 1 additions and 1 deletions

View File

@ -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