lib/ransack/adapters/active_record/context.rb
# Because the AR::Associations namespace is insane
Because the AR::Associations namespace is insane
Because the AR :: Associations namespace is insane
def join_dependency(relation)
          if relation.respond_to?(:join_dependency) 
            relation.join_dependency
          else
            build_joins(relation)
          end
        end
def join_dependency ( relation ) if relation . respond_to? ( :join_dependency ) relation . join_dependency else build_joins ( relation ) end end
Because the AR::Associations namespace is insane
Because the AR :: Associations namespace is insane
# Polyamorous enables this
relation