Exception: MetaSearch::JoinDepthError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/meta_search/exceptions.rb

Overview

Raised if you try to access a relation that's joining too many tables to itself. This is designed to prevent a malicious user from accessing something like :developers_company_developers_company_developers_company_developers_company_…, resulting in a query that could cause issues for your database server.