Marie-Therese Fischer

@fischer.codes

Developer, Social Scientist and Wilderness Mentor from Vienna Or you could just call me: Nerd, Solarpunk and Herb Witch 😁✌️

Save the date! The next Vienna.rb is happening on the 5th of June! 🏖️ We have a fantastic program with incredible speakers and a surprise prepared. More details to follow soon!

Oha, I just found a #Rails bug 😱🐛 This has first been reported on Rails 6 (in 2020) but seems to never have been fixed so far (v8). When there's an enum in your model and you add a faulty validation below, you'll get a completely wrong error hint related to your enum instead of your validation.

So, the thing is, I absolutely can't live without the summarized schema comments created by the #annotate gem. But it's not working properly under #rails8 and actually seems to be abandoned by now 🥲 BUT good news: There's a fork github.com/drwl/annotat... and it works like a charm with Rails 8 ♥️♥️♥️

GitHub - drwl/annotaterb: A Ruby Gem that adds annotations to your Rails models and route files.

A Ruby Gem that adds annotations to your Rails models and route files. - drwl/annotaterb

github.com