Frequently WTFed WTFs

This topic collects patterns in existing WTFs. If you’re seeing patterns I’m not, please note them in the comments!

Sprockets/Webpacker division of responsibilities is confusing

Rails is omakase until it isn’t – not enough pattern guidance

https://discuss.rubyonrails.org/t/an-extensive-example-of-project-organization/74606/4

Hard to understand when AR runs queries & how to avoid extra queries

https://discuss.rubyonrails.org/t/n-1-queries-should-be-the-exception-not-the-easy-trap-to-fall-in/74537/6

Enum design has weird edges & is sometimes hard to use correctly https://discuss.rubyonrails.org/t/enums-use-integer-keys/74694/5 https://discuss.rubyonrails.org/t/enums-inconsistent/74519/13

Rails should make authentication omakase

14 Likes

Just wanted to give a very big thank you to @Betsy_Haibel. We’re totally in your debt for all the amazing work you’ve done on this topic.

11 Likes