Clean up points queries
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start by reading the query code in AwardedPoint, AvailablePoint, and User, then inspect the existing tests for those models. Map the redundant queries and identify the reported N+1 cases before deciding whether a helper class is warranted. Done means the queries are simpler, comments explain the non-obvious parts, N+1 behavior is reduced, and tests cover the revised behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
There are a bunch of complex queries in AwardedPoint, AvailablePoint and User. with some redundancy. Clean it up, add comments, maybe refactor them to some helper class. Reduce N+1 problems. Also improve tests.
- Lingua principale
- Ruby
- Stelle
- 51
- Fork
- 42
- Merge medio
- 1h 27m
- PR unite (30g)
- 1
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di testmycode/tmc-server
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
testmycode/tmc-server#590 ·
-
Exercise Submission Failed Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
testmycode/tmc-server#576 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
testmycode/tmc-server#488 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
testmycode/tmc-server#487 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
testmycode/tmc-server#477 · 2 commenti ·
Tutte le issue di testmycode/tmc-server
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Please Drop ruby 3.2 support Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
googleapis/google-api-ruby-client#28001 · 5 reazioni ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100