Re:Ruby on Rails in a week
by christudor on Friday October 30, 2020 @04:49AM
(#24940347)
"lots of N+1s, but these are easy to avoid with things like bullet"
What is bullet?
It is a plugin/gem that helps you track N+1 queries.
Re:Ruby on Rails in a week
by christudor on Saturday November 07, 2020 @07:05AM
(#25014610)
Thank you!
Re:Ruby on Rails in a week
by andysomniac on Friday October 30, 2020 @04:53AM
(#24940370)
It is a gem that tells you when you are accidentally making a N+1 query and suggests the best way to fix it in AR (it also tells you when you have over used includes that are not needed and other such tweaks to make to your queries).
If you're just prototyping stuff, I don't think you can beat Rails for productivity. But if you're targeting something more enterprise or large scale, I don't think it's a good choice. Go/Rust are so much faster (not that that matters a lot), and even things like C#/Java pretty nice to use nowadays.