Turbo streams broadcasting in Rails, update methodsRails’ turbo streams broadcasts let you update your UI in real time using a range of handy methods. In this series, I’ll break down these methods in pairs—highlighting their similarities and key differences that can significantly impact data consiste...Feb 18, 2025 · 4 min readahmednadar.hashnode.dev
Implementing Friendly URLs with UUID-Based ModelsI want to share a practical solution to a common challenge in Rails development I face it with almost every application I work with: combining UUID-based models with user-friendly URLs. If you've ever wondered how to maintain the security benefits o...Nov 30, 2024 · 4 min readahmednadar.hashnode.dev
Normalization in Rails 7.1 eraBefore Rails 7.1 Once upon a time, way long before the Rails 7.1 era, a smart Rails developer (like yourself) needed to ensure user email addresses were properly normalized (sanitized and formatted correctly). Back then, they used clever techniques s...May 21, 2024 · 2 min readahmednadar.hashnode.dev
How I decide to pass on a parameter within a component.When creating a component in Rails, especially when using a component-based architecture like ViewComponent or similar, I was faced with a question, how should I pass around and manage data, especially configuration data. Here i have 2 options. Pass...Apr 23, 2024 · 2 min readahmednadar.hashnode.dev
Your true value beyond the job titleRecently, I was inspired by Coby's reflection on channeling his inner Purple Cow, a concept introduced by Seth Godin. It made me reconsider my self-image and how others perceive me. The idea of "being remarkable, in a way that compels others to talk ...Mar 29, 2024 · 4 min readahmednadar.hashnode.dev