Post AwI7GW60yQZn0QHBfE by [email protected] | |
More posts by [email protected] | |
Post #AwI42VrkjTIyNMEhsm by [email protected] | |
0 likes, 0 repeats | |
I just upgraded a #Rails app from 7.0 to 8.0 only to realise after agonising fo… | |
Post #AwI4GaWKDxt0rhvQBc by [email protected] | |
0 likes, 0 repeats | |
No wonder the thing was so slow! | |
Post #AwI66wKmSxPDX33JWy by [email protected] | |
0 likes, 0 repeats | |
@alda oh no | |
Post #AwI6h9nRtHHFi4jPOq by [email protected] | |
0 likes, 0 repeats | |
@alda did Rails move from lazy loading db relations to eager-loading by default? | |
Post #AwI6xDoyh8J2pF6h3w by [email protected] | |
0 likes, 0 repeats | |
@benjaoming No I set it to eager load, which didn't work. Then I upgraded t… | |
Post #AwI7GW60yQZn0QHBfE by [email protected] | |
0 likes, 0 repeats | |
@nikki I think I can afford the n+1 queries this abomination is supposed to pre… | |
Post #AwI7uBhcDQkRL7mRAO by [email protected] | |
0 likes, 0 repeats | |
@alda oh yeah, n+1 issues are also pretty normal+severe in Django apps. I was i… | |
Post #AwI8PdfaHfmN3VpLjE by [email protected] | |
0 likes, 0 repeats | |
@alda that's a crunchy query... 🤤 | |
Post #AwI8QDGJx4xfRaHgLg by [email protected] | |
0 likes, 0 repeats | |
@benjaoming Nah. It's just about how your write the query for the ORM that … | |
Post #AwI8jRubhzS6NiIgdM by [email protected] | |
0 likes, 0 repeats | |
@alda WAT | |
Post #AwICFIJ3G22Bidbuq0 by [email protected] | |
0 likes, 0 repeats | |
@alda @nikki I’d just be like “you get an index and you get an index and ev… | |
Post #AwICfksXeGslrcpPqS by [email protected] | |
0 likes, 0 repeats | |
@george @nikki That's the first thing I checked. That query is just way too… | |
Post #AwITvJggDAPzNyHnPM by [email protected] | |
0 likes, 0 repeats | |
@alda it’s beautiful like one of those Giger paintings that scare you a bit. |