Project

General

Profile

Actions

Bug #8442

closed

Eager loading on audits page does not work

Added by Ohad Levy over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Database
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

ActiveRecord::EagerLoadPolymorphicError
Can not eagerly load the polymorphic association :user
app/views/audits/_list.html.erb:1:in `_53d8a19f5b9e17a52dbbf2112ae4186e'
app/views/audits/index.html.erb:3:in `_cde286859771808c11fbbbdf6d2f4212'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #8425: n+1 query on audits indexClosedDaniel Lobato Garcia11/17/2014Actions
Actions

Also available in: Atom PDF