Me

Tag: Software Engineering

  • Flexible Association Managers in Rails 7 APIs

    Adding association management methods to Rails models Photo by Transly Translation Agency on Unsplash If you’re a Rails developer, you’re probably familiar with updating associated records through the association_name_ids= setter method. That strategy works well, but often leads to cluttered controller methods for managing record associations. In a current project, I found myself wanting a more convenient…

  • The Art of Abstraction, in Code

    Many people believe in a separation existing between arts and sciences. Science is bound to rules and knowledge while art is limited only by imagination. Most people agree with this idea. However, an artist’s brush is beholden to the same laws as any scientific invention. Meaning that the only true difference between them is the…