remove N+1 queries on projects#index