260: N+1s For Days
On this week's episode, Chris shares a tale of performance improvements and a recent discussion about replacing a REST API with GraphQL. Steph dives into migrating a database column to restrict input and dropping database columns safely. They also discuss when to abstract code (a topic that surprisingly, they may not agree on) and running "Unused" to identify dead code.
This episode is brought to you by:
ScoutAPM (https://scoutapm.com/bikeshed) - Give Scout a try for free today and Scout will donate $5 to the open source project of your choice when you deploy
Indeed (https://Indeed.com/bikeshed) - Click through and get started with a free seventy five dollar credit for your first job post
ActiveRecord - ignore_columns (https://apidock.com/rails/v6.0.0/ActiveRecord/ModelSchema/ClassMethods/ignored_columns)
strong_migrations (https://github.com/ankane/strong_migrations)
Rails Issue - ActiveRecord enum: use validation if exists instead of raising ArgumentError (https://github.com/rails/rails/issues/13971)
Insomnia (https://insomnia.rest/)
Unused (https://unused.codes/)
Using Vim with ctags (https://thoughtbot.com/upcase/videos/intelligent-navigation-with-ctags)
Become a Sponsor (https://thoughtbot.com/sponsorship) of The Bike Shed!