Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

[Airbrake] [Production] PG::DuplicateAlias: ERROR: table name "users" specified more than once : SELECT COUNT(*) AS count_all, job_users.id AS job_users_id FROM "job_users" LEFT O[Truncated] #1419

Closed
buren opened this issue Feb 13, 2018 · 0 comments
Labels

Comments

@buren
Copy link
Member

buren commented Feb 13, 2018

Airbrake error: #8095
Airbrake project: just-match-api-eu

Error type: ActionView::Template::Error
Error message: PG::DuplicateAlias: ERROR: table name "users" specified more than once : SELECT COUNT(*) AS count_all, job_users.id AS job_users_id FROM "job_users" LEFT O[Truncated]
Where: job_users#index
Occurred at: Feb 13, 2018 16:50:59 UTC
First seen at: Feb 13, 2018 14:22:28 UTC
Occurrences: 11 ( since last deploy on Jul 09, 2017 08:26:56 UTC)
Severity: error

URL: http://admin.justarrived.se/job_users?utf8=%E2%9C%93&q%5Buser_tags_tag_id_eq%5D=122&q%5Bjob_id_eq%5D=709&commit=Filter&locale=en&order=id_desc
File: [GEM_ROOT]/gems/activerecord-5.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb

Backtrace:

[GEM_ROOT]/gems/activerecord-5.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:614:in async_exec
[GEM_ROOT]/gems/activerecord-5.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:614:in block (2 levels) in exec_no_cache
[GEM_ROOT]/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb:46:in block in permit_concurrent_loads
[GEM_ROOT]/gems/activesupport-5.1.4/lib/active_support/concurrency/share_lock.rb:185:in yield_shares
...
Caused by ActiveRecord::StatementInvalid: PG::DuplicateAlias: ERROR:  table name "users" specified more than once
: SELECT COUNT(*) AS count_all, job_users.id AS job_users_id FROM "job_users" LEFT O[Truncated]
Caused by PG::DuplicateAlias: ERROR:  table name "users" specified more than once
@buren buren added the airbrake label Feb 13, 2018
@buren buren closed this as completed in bc1785e Feb 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant