

The Bike Shed
thoughtbot
On The Bike Shed, hosts Joël Quenneville and Stephanie Minn discuss development experiences and challenges at thoughtbot with Ruby, Rails, JavaScript, and whatever else is drawing their attention, admiration, or ire this week.
Episodes
Mentioned books

Dec 13, 2017 • 33min
135: A Series of Unfortunate Examples
We discuss a possible ActiveRecord bug Derek encountered and explore the ambiguity of SQL formatting best practices.
thoughtbot podcast swag
Working around ActiveRecord joining the same table twice
Pagination in Crates.io
ActiveRecord auto-explain removed in Rails 4.0
pgFormatter: A PostgreSQL SQL syntax beautifier
How would you format this SQL query?
Support The Bike Shed

Dec 8, 2017 • 31min
134: Fastributes
We share our favorite talks from RubyConf and discuss how Sean has made ActiveRecord attributes allocation significantly faster with Rust.
Saving Ruby From the Apocalypse by Jason Charnes
Esoteric, Obfuscated, Artistic Programming in Ruby by Yusuke Endoh
The Impermanence of Software by Andy Croll
Git Driven Refactoring by Ashley Ellis Pierce
The Unbearable Vulnerability of Open Source by Eileen Uchitelle
All The Great Talks from RubyConf
thoughtbot Podcast Swag Sale
Support The Bike Shed

Nov 23, 2017 • 31min
133: A Very Special Bike Shed
Sean is on to a significant ActiveRecord optimization using an extension written in Rust and Derek shares an overdue thanks to an excellent manager.
Helix
Fast Blank
Turns out, Rails Fast Attributes might be more on the order of 2x faster!
Bootsnap
Do I need Database Cleaner?
GraphQL Query Resolver
PostGraphQL
Headless Capybara!
Working in Siebel… Ugh
Rebecca wrote a book
Upcase Crossroads
Support The Bike Shed

Nov 16, 2017 • 37min
132: What Went Well?
We discuss patterns and anti-patterns encountered in agile retrospectives and revisit a favorite topic: form objects.
Running a Retrospective
Scrum Sprints
Product Design Sprint
Auth0
ActiveModel::Dirty
Reform
Ecto Changeset
Lucky, an experimental new web framework by thoughtbot
Support The Bike Shed

Nov 8, 2017 • 39min
131: Nouns For Verbs Sake
We briefly discuss the renaming of factory_girl to factory_bot before diving in to the visitor pattern; what is it, and what are its inherent tradeoffs.
factory_bot
visitor pattern
Visitor pattern and double dispatch in ruby
Sean drives for Lyft
Support The Bike Shed

Nov 3, 2017 • 34min
130: I Grew Up in Balloons
Is Database Cleaner necessary anymore? Tune in for our exciting play-by-play reporting on that issue and stick around for chatter on personal defaults for new Rails applications.
Integrate with ActionDispatch::SystemTest
Database Cleaner
RSpec 3.7 has been released!
Bundler template moves bins to exe
Suspenders
Exclude all 4xx Rails errors from Sentry reporting
Balloon Fiesta
Support The Bike Shed

Oct 27, 2017 • 47min
129: You Wanna Talk About GraphQL?
We discuss an issue in the interaction between Rails, Chrome, and the HTTP referrer policy before Derek shares his love for GraphQL.
Referrer-Policy
Origin header
Rails/Chrome/no-referrer issue
GraphQL
GraphQL-Ruby
GraphQL-Batch
Sangria
Elixir 1.6 Formatter
Support The Bike Shed

Oct 19, 2017 • 46min
128: And Now for My Next Trick!
We discuss strategies for fighting back against project management overhead, refactoring workflows, and on-call rotations.
Make the change easy, then make the easy change.
Refactor in a Branch
Chaos Monkey
What languages support anonymous union types?
Support The Bike Shed

Oct 13, 2017 • 53min
127: Bike Shed: Discovery
We discuss Bundler warning us to update to a prerelease version and other recent annoyances with our favorite dependency manager. We also wonder what GitHub diff stats can tell you about your contributions to a project and when they might be a smell. Stick around post credits for some spoiler-filled chatter about the first couple episodes of Star Trek: Discovery.
SpaceX Moon Base
SpaceX Travel
RubyConf talk involving Kerbal Space Program
Bundler warns users to install pre-release version
*Gemfile/Gemfile.lock to gems.rb/gems.locked
SQLite docs vs MySQL docs
Diesel is Joining the Rust Impl Period
Star Trek Discovery
Support The Bike Shed

Oct 5, 2017 • 35min
126: Speaking of Compilers...
We discuss a major change to Diesel's insert statements in advance of its 1.0 release and reexamine Contracts.ruby after Derek spends some time with it in use.
Sputnik lamp
Contracts.ruby
Don't use exceptions for flow control
Crystal
Matz doesn't like current proposals for types in Ruby
Support The Bike Shed