Lets use this as a @laravelphp learning opportunity.
We added a feature to let @thankbox recipients reply to everyone who had left a message on their Thankbox.
Lets look at the code and see what happened 1/7https://twitter.com/ValCanBuild/status/1273545648219062272 …
-
-
What's the lesson here? Eloquent is great but don't just assume what it's going to do. When in doubt, run toSql() on your query to make sure it's outputting what you expect it to. Also - write the test you should've written in the first place
7/7pic.twitter.com/b2UCbAn8kV
Pokaż ten wątekDziękujemy. Twitter skorzysta z tych informacji, aby Twoja oś czasu bardziej Ci odpowiadała. CofnijCofnij
-
-
-
I like how the arrow function syntax was used in the callback for "where" but wasn't adapted in the "each" collection method. :D
-
The second one isn't really even the real code. Just needed to shorten it so the image wasn't massive
Koniec rozmowy
Nowa rozmowa -
Wydaje się, że ładowanie zajmuje dużo czasu.
Twitter jest przeciążony lub wystąpił chwilowy problem. Spróbuj ponownie lub sprawdź status Twittera, aby uzyskać więcej informacji.
But hey, our tests were passing. 5/7