Setting Up Cypress, Rails, and CircleCI
Recently I set up a Rails app with Cypress end-to-end specs on CircleCI. Capybara's the Rails default for this, but Cypress is better. It's faster, more stable, and its in-browser spec runner is a much better experience than writing specs in Capybara. However, Cypress support is still a bit immature, so you have to do some manual tweaking.
Medium Is To Message As Tool Is To Workflow
People who work remote nonetheless share office space. But the office space is virtual, not physical, and its architect is Marshall McLuhan.
One-Liner for git mv
Here's a one-liner for changing a bunch of filenames all at once.
"Should I Dish Up My Rails Front End With Webpack, Webpacker, Bundler, or the Asset Pipeline?"
Understand what exactly 'webpacking' does.
Easily Clean Your Git Branches
Ever had text fill your entire terminal window when all you did was a quick `git branch`? Here's a quick pair of scripts which solves that problem by making it a simple matter of muscle memory to keep your repo completely clean.
Automated Gratitude at Scale
I recently decided to individually thank each and every one of the top 100 contributors to Rails, and I wrote some software to make it feasible.
MVP Code-Splitting in Rails with Webpacker
Webpack can do impressive minimization based on static analysis. But it's extremely easy to get the low-hanging fruit version of this in your Rails app with nothing fancier than Webpacker.