scope:of_group,->(group){where("source_project_id in (:group_project_ids) OR target_project_id in (:group_project_ids)",group_project_ids: group.projects.select(:id).reorder(nil))}
scope:of_group,->(group){where("source_project_id in (:group_project_ids) OR target_project_id in (:group_project_ids)",group_project_ids: group.projects.select(:id).reorder(nil))}