Rado Stankov
banner
rstankov.bsky.social
Rado Stankov
@rstankov.bsky.social
CTO and Co-Founder at Livo.me 😸 Prev Head of Engineering at ProductHunt 📝 Writing a newsletter at http://tips.rstankov.com
Here is example usage
July 20, 2025 at 12:00 PM
The best way to avoid database queries is to avoid making them. Counter caches help with that. Active Record built-in counter cache is good but doesn't handle conditions and deltas.

If you want to learn more about counter caches, I have a whole post about them 👉

tips.rstankov.com/p/counter-ca...
January 25, 2025 at 9:07 PM
One of my favorite git aliases is "git sync". It fetches the main branch and deletes all local branches merged upstream. 💻

Code 👉
January 11, 2025 at 1:14 PM
ISO 8601 has a standard for durations 📅

en.wikipedia.org/wiki/ISO_860...

This is very well supported. Ruby on Rails Active Support works with it and they are many JS libraries.
December 14, 2024 at 9:08 AM
Almost time for Ruby Banitsa Conf

conf.rubybanitsa.com
December 7, 2024 at 7:39 AM
One of my favorite UI features of linear is that all action menus have action filtering. ✨

This is something that should be part of every UI component library.
December 4, 2024 at 6:26 AM