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:

  • Fall back

    We are all rushing to become 'AI-powered' which means 'AI-powered' no longer means anything. Maybe we are all just leaping into a commodity trap disguised as the way forward? I've spent a lot of time this year researching and developing my own conclusions on what digital client…

  • 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 avai…

  • 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 th…

  • Zero busy work

    AI has given us a lot of things. When used incorrectly, your brain turns to mush. When used correctly, it frees you to be original, strategic and creative. Something I've been thinking a lot about lately is the idea of zero busy work. This isn’t just about productivity, but abo…

All blog posts

Let’s chat

If you’re curious to explore ideas, let’s chat. You can drop me an email at [email protected], connect on LinkedIn or pick a time below:

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.