Project

General

Custom queries

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 over 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 #3

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

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF