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

By Garrett,

A hand holding a fountain pen drawing squiggles on a sheet of paper, on a teal background

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

  • A vintage mechanical sorting machine, cream cards each stamped with a person icon feeding in at the top and a chain of them spilling into a discard pile at the front, with an accepted and a rejected card icon to the side, on a green background.

    The sorting machine: recruitment’s race to the bottom

    By Iain,

    > The sorting machine was built to cope with a genuine problem. Where it went wrong was in mistaking efficiency for effectiveness, in assuming that the ability to process resumes fast meant the ability to evaluate candidates well. The fix is not a smarter machine but a more modest one, paired with humans who are given the time, the tools, and the structured information to do what they were always better at.If you've been involved in any part of the recruitment process, the last 18 months have been dispiriting, to say the least. Hiring became a closed loop. Employers adopted applicant tracking…

  • A brass balance scale weighing a plume of smoke in one pan against a solid iron weight in the other, on a blue background

    Weighing smoke: why GEO dashboards are mostly useless

    By Iain,

    > The promise of a tool that gives you similar search visibility to the pre-agent world is understandably seductive. But before you eagerly hand over your cash for a platform, consider whether an afternoon's work a month might be a more cost-effective alternative.I recently wrote about [the GEO chimera](https://betterthangood.xyz/blog/geo-practice-versus-snake-oil/), the cottage industry promising to optimise your brand into AI answers. My argument was that the levers being sold mostly did not exist. Another part of the industry is selling gauges rather than levers. Estimates of the spend on …

  • A black bowler hat overflowing with a tangle of cables, plugs, and power strips, surrounded by floating app cards, on an orange background

    Another nice mess

    By Iain,

    Somewhere in your business right now, someone is assembling a picture that no single app can provide. It may be the project manager pulling hours from Harvest and budget data from the finance tool to assess whether the engagement is still viable. Maybe it's you on a Sunday, because what you need is not any one number from a system, but the pattern across three of them. The cloud gave small businesses access to the best software they had ever had, priced monthly and built for specific purposes. But twenty years of sensibly chosen apps have left the average small business with a patchwork data …

  • A heroic warrior action figure standing atop an old CRT computer monitor, brandishing a sword aloft, on a pink background

    The state and the machine

    By Iain,

    > What little we saw of Fable and Mythos offers both cause for excitement and concern. It was widely and credibly seen as a model of a completely different caliber from those that had come before. Perhaps the risks in this instance were overstated or amplified for political ends. What is more profound is that the short time we had with the models offered a clear glimpse of a future in which a single company is making significant progress toward a superintelligence with the potential to rival or exceed the power of nation-states or even massive corporations. That juncture was never going to ar…

  • A pink piggy bank tipped upside down with coins and banknotes spilling out of it, on a green background

    We have ways of making you pay

    By Iain,

    > The true cost of AI work is hard to measure; the value of AI work is also hard to measure, and metering changes which of those two blindnesses you notice first. It drags the cost into the light, itemised and arriving monthly, while the value stays diffuse, lagging and easy to argue about. That asymmetry is exactly why the panic is showing up now, ahead of any definitive verdict on whether the spending was worth it.Simon Willison did the arithmetic on himself. He pays $200 a month across his Anthropic and OpenAI consumer plans, and when he ran the [ccusage](https://github.com/ryoppippi/ccusa…

All blog posts