Project

General

Profile

Actions

Bug #24486

closed

Using has_many :through before the through association is defined interferes with scoped search

Added by Ondřej Pražák over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Search
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Scoped search complains when we use through association before it is defined:

Cannot have a has_many :through association 'Report#sources' which goes through 'Report#logs' before the through association is defined.

Actions

Also available in: Atom PDF