…a dev misapplied DRY so they could play with metaprogramming
Ah, so you take a drink immediately after starting?
Rails came out 10 years ago, so chances are your app is not more than 5 years old. Also if you are still using rails I’m not sure you can call it legacy, it’s just poorly programmed.
If I did this with the current project, I’d be dead from severe alcohol poisoning… :(
This is an author post, but not marked as so. (@pushcx also posted some more that need marking as well.)
Oops, thanks for pointing it out. I haven’t been blogging much, forgot about the box.