From d5d804a56f416f3637cfa32b0129142f8a82ecd8 Mon Sep 17 00:00:00 2001 From: Luchs Date: Thu, 2 Feb 2017 15:07:24 +0100 Subject: [PATCH] Also return users without a team on UserCollection service --- app/services/api/v1/users_collection.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/services/api/v1/users_collection.rb b/app/services/api/v1/users_collection.rb index 2630913..fdd8e29 100644 --- a/app/services/api/v1/users_collection.rb +++ b/app/services/api/v1/users_collection.rb @@ -39,7 +39,6 @@ class Api::V1::UsersCollection < Api::V1::Collection .project(columns) .join(teams_table, Arel::Nodes::OuterJoin) .on(joins) - .where(users_table[:team_id].not_eq(nil)) .order(users_table[:id]) end