Weeknotes vol. 8: Active Storage and shipping baby no. 6

Posted:

I had two (big) tasks this week (which as per usual I’m writing after the fact):

  1. Get file uploads integrated into the app with Active Storage
  2. Bring my beautiful wife to the hospital on Friday to ship baby no. 6

I’ll stick to the nerdy stuff for this post though.

There’s nothing not to love about Rails, as my experience with Active Storage further confirmed. Installation is a breeze.

  • bin/rails active_storage:install
  • bin/rails db:migrate

  • class Thought < ApplicationRecord
      has_one_attached :file
    end
    
  • Make some updates to your form(s)
  • Done

And then there’s all the little app specific details, and that’s what took the week.

Phil finished the Web/Mac app design, and so the next few weeks (after the break with baby) will be spent focused on production-ready HTML and CSS, which I’m very excited about. This is where my original love for the internet started and I’m excited to see what’s changed since the last time I was serious about it (probably everything).

More from the blog:

  • The missiles are the destination

    One of my uncommon enjoyments is the work that happens right in the middle of a big problem that needs to be solved, or even a nosedive. A calmness kicks in, the path gets clearer and I can usually tunnel vision my way through to course correction. I used to think this was spec…

  • Fall back

    What creative studios and dev shops (and probably everyone else, too) need to do to stay relevant in the AI era without becoming commoditized slop. What’s covered: Your people are your moat · Easy to do, hard to be the best · Quality and simplicity · Never look to others · Don…

  • On getting paid faster

    These five cashflow levers are arguably the quickest, easiest wins when optimizing your service business. Frequency of online payment deposits Update your online payment system to deposit into your bank account daily instead of weekly. Or whatever the quickest interval availab…

  • Reading between the lines

    There’s a lot to learn in a professional services business between the day you open your doors and the day you sell or retire or whatever it is you do next. And there are a million different angles you can take to improve the future based on the past. Here is a line graph of my…

  • The stuff between

    Simply put, your service business in its most raw form look something like this: Stuff → Lead; Lead → stuff → Signed contract; Signed contract → stuff → Start; Start → stuff → Complete; Complete → stuff → Aftercare. And there’s a level of automation and organizatio…

All blog posts

Let’s chat

Whether you have a challenge in mind or just want to connect, let’s chat. You can also drop me an email, connect on LinkedIn or save my contact info for later.

A playful, hand-drawn illustration of a group of characters holding up scorecards with the number ‘11’. They sit behind a table scattered with various other numbers.