keygen-sh / keygen-api

Keygen is a fair source software licensing and distribution API built with Ruby on Rails. For developers, by developers.
https://keygen.sh
Other
699 stars 40 forks source link

Fix N+1 on users index when users are not new (Prosopite) #791

Closed ezekg closed 4 months ago

ezekg commented 4 months ago

Resolves an N+1 issue caused by User#status for the users index when the collection contained old users. Also replaces Bullet with Prosopite because Bullet missed this, and I couldn't force the test failure, and it failed right away with Prosopite.

ezekg commented 4 months ago

Closing in favor of #792.