Worked on a interesting problem in my project last week, so it was a good opportunity to write about my experience.
It will probably be helpful to me someday, and it might be useful for someone else.
Jan Peterka
Rails programmer,
creator of sborio.cz, navarit.cz and dokumat.cz
Open to #ruby/#rails work in meaningful project
Short writing about some metaprogramming in #ruby i did today.
https://jpeterka.cz/2026/05/15/metaprogramming-classmethod/
Do you have experience with similar thing? Is there some simpler solution? Do you use non-OOP approach for such stuff? Curious to hear any feedback !
note to self: when code doesn't seem to work as expected, stop and think what your expectations about relevant parts are and then be sure to validate those
_yes, I just spend two days on problem which was at least partly due to one attribute being always empty, fixed by one `delegate` line_
Any recommendations for domain name registrar?
I imagine:
- EU/non-US based
- support for .cz domain
- trusted
- nonterrible UI
- support for automatic management (for Stalwart for example) would be nice