Wow, vanilla Rails 6 is a train wreck. Like, basic documented 101 stuff doesn't work. And then either fails to work *differently* next time, or doesn't notice that you fixed it, because of all the caching Spring and Bootsnap(?) are doing.
-
-
Replying to @avdi
It’s actually Zeitwerk AFAICT — Spring and Bootsnap were always easy to just restart past transient errors, but my experience with Zeitwerk is that it is a train wreck if you make literally any typo ever.
1 reply 0 retweets 3 likes -
Replying to @betsythemuffin @avdi
E.g. if you dare to require something explicitly, and it doesn’t mesh with Zeitwerk’s expectations about directory structure, Zeitwerk will just start.... randomly losing classes.
1 reply 0 retweets 1 like -
Replying to @betsythemuffin @avdi
PS this also happens IN PRODUCTION because unlike Bootsnap and Spring, you can’t really let Zeitwerk be an optional developer convenience.
1 reply 0 retweets 2 likes -
Replying to @betsythemuffin
I'm having one of those days where it's like... Everyone is lying and is just too embarrassed to admit that none of their shit works... Right?
1 reply 0 retweets 6 likes -
Replying to @avdi
Zeitwerk makes everyone feel that way. I hate it so much and you know that I am always the one defending Rails convenience tooling
1 reply 0 retweets 0 likes -
Replying to @betsythemuffin @avdi
Oh and because i know you like permissive constructor methods that are named after the class... Zeitwerk HATES them and you need to randomly invoke the class as a no-op sometimes to get them to load properly
4 replies 0 retweets 0 likes
Reading this thread, I'm really glad I left the team when I did
-
-
Mostly agree. I think sinking all of this effort into faster Rails load strategies is worthwhile, because in practice slow Rails load strategies lead to Rails teams that just don’t write tests. But right now, the error messaging just isn’t adequate.
0 replies 0 retweets 0 likes - 7 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.