I have this piece of code https://gist.github.com/diegoviola/f9a99d5cc35d0813ff32212146d14f54 which returns "Rack::Timeout::RequestTimeoutException: Request waited 3ms, then ran for longer than 29997ms"
the query takes under a second I guess the slow part is the render json
"The extension task/requirement, in our tech interview, would've been very difficult with your solution. You would've had to have done quite a bit of live refactoring. Just saving both of us the trouble. Yes, "not enough OOP" is an entirely subjective opinion, and it's just about compatibility/fit, rather than right/wrong. You have zero reason to change your coding style from this interview."