Building an MVP Has Never Been Easier. But Building the Right MVP Still Takes Experience.
How AI, and particularly Claude Code, is changing the way we build software and helping founders get their ideas to market faster.
Ruby on Rails deep-dives, engineering lessons, and field notes on mentorship and running a software consultancy, from the team behind Bear & Giraffe.
How AI, and particularly Claude Code, is changing the way we build software and helping founders get their ideas to market faster.
GitHub's ViewComponent claims to be about 10x faster than Rails partials. Running its benchmarks shows regular components are roughly 5x faster, and adding memory benchmarks shows partials use at least 3x more memory. A real gain, worth weighing against a new directory structure and extra files.
A scoped belongs_to makes it possible to join through a polymorphic association in ActiveRecord, but adding one broke unrelated tests with a confusing FactoryBot error. Because belongs_to is required by default since Rails 5, the scoped association needs optional: true.
Why Bear & Giraffe holds developers, itself included, to a high standard: too many founders sink their savings into software that doesn't work, and poor work hurts the whole industry's reputation. The flip side is the promise B&G makes to clients: make them look good to their investors and stakeholders, without nickel-and-diming.
Showing an email's subject as a heading in a shared Rails mailer layout sounds trivial, but lazy-lookup translations don't resolve the right scope inside layouts. Digging into ActionMailer's default_i18n_subject points to the fix: build the scope from the mailer name and action_name yourself.
"Fuck You Money" is usually personal: enough savings to walk away from a bad job or relationship. A service business needs it too. With full-time employees depending on it, Bear & Giraffe has to build a reserve big enough to walk away from an abusive client without putting the team at risk.
"Small project consulting makes hiring juniors hard" is a common refrain; Bear & Giraffe's experience from 2015 to 2018 says otherwise. The full story of how B&G's mentorship program grew from an ad-hoc experiment into a framework, including the failures, the criteria for who it can support, and what it takes to mentor six junior developers and interns in a single summer.
Behind every great project, idea, or platform requires the proper development. Here at B&G that is what we do best, and it would seem some others would…
Pending Cucumber steps are a handy to-do list in TDD, but by default they make Cucumber exit with code 1, so CircleCI marks the build as failed even when no tests fail. The --no-strict-pending flag keeps pending steps from failing the build while still catching undefined and flaky ones.
A public dispute over funding and transparency inside Ruby Together, the nonprofit that funds Bundler and RubyGems, played out on Twitter. Why it matters to members like Bear & Giraffe, and a proposal: let neutral people who aren't funded by the organization mediate, and lead it if needed.