Project

General

Profile

Actions

Refactor #21024

closed

Reorder ActiveRecord associations in order of use

Added by Anonymous over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Rails
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

With Rails 5.1

ActiveRecord::HasManyThroughOrderError: Cannot have a has_many :through association 'User#cached_usergroups' which goes through 'User#cached_usergroup_members' before the through association is defined.


Related issues 1 (0 open1 closed)

Blocks Foreman - Tracker #20948: Rails 5.1 upgrade tasksClosed09/16/2017

Actions
Actions #1

Updated by Anonymous over 6 years ago

Actions #2

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/theforeman/foreman/pull/4859 added
Actions #3

Updated by Ivan Necas over 6 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF