Articles

  • Querying JSON columns

    1 October 2024

    This is written from a bad example, but we have a model that can have many widgets, which are all saved in a JSON column. I know I just said has_many, so really we should refactor this. However, that’s a separate refactor for another time.

    Read more...
  • Foreman error when installing TailwindCSS

    8 July 2024

    I followed the steps on the Tailwind website to Install TailwindCSS with Ruby on Rails

    Read more...
  • Profile Images With Active Storage

    1 June 2020

    I was surprised how simple it was to implement Active Storage just following the guide from Rails Guides. This is how I added profile images to Speakers Live in 6 easy steps!

    Read more...
  • Nested Forms

    21 January 2020

    Nested resources are a powerful tool and Rails has made it easy to deal with doing this directly in your usual form, well, format…

    Read more...
  • Do I truly want to become a manager?

    22 March 2019

    After reading “Do I truly want to become a manager?” by @clairejlew, I decided that I would actual consider and answer these questions. Some questions are difficult to answer as a non-manager, but I’ve tried to answer them the best I can.

    Read more...
  • Public Objects With Google Cloud

    1 December 2018

    Google doesn’t allow you to make a directory public. Who knows why? Please tell me. Maybe it’s obvious and I just missed it all. Their example makes the entire bucket public, which we really don’t want!

    Read more...