While building EstateSync, I created many tables of varying complexity and length, but they still shared a lot of common patterns. Maintaining a consistent UI became increasingly challenging as I was using Tailwind, and I noticed that view code was being duplicated. That’s when I decided to explore ViewComponent and Phlex. While Phlex seemed interesting and promising, for my particular use case I preferred the simplicity of combining .erb files with ViewComponents.
…When working on multiple local projects, each running on different ports, it becomes inconvenient to remember port numbers and manually update /etc/hosts
for every new project.
Our goal was to make development feel like production — where each project is accessed via its own domain — while keeping the setup flexible, simple, and easy to maintain.
Every production-grade Rails project should proactively address security and code quality. The Ruby ecosystem offers a rich collection of gems that help you do just that - catching bugs early, enforcing best practices, and protecting your users and data.
…When developing applications using Rails, efficient database interaction is crucial for maintaining high performance. ActiveRecord provides several methods to optimize database queries. In this post, we’ll explore how using specific ActiveRecord methods can significantly improve the performance of your Rails applications.
…