Developer tips Keeping Dependencies Updated — bundle outdated, Dependabot, and When to Hold There are two failure modes and teams pick one without deciding. Either nobody updates anything until a CVE forces a jump across four major versions in a week, or Dependabot opens eleven PRs
Developer tips Common Mistakes Rails Beginners Make (and How to Fix Them) Every one of these ships to production regularly, and none of them are signs that someone is a bad developer. They’re mistakes Rails makes easy — the framework optimises for getting something working
Developer tips Sharing Code Snippets That People Can Actually Use Someone asks for help and you paste forty lines into Slack. It wraps at column sixty, loses its indentation, and scrolls off the channel in an hour. Or you paste a screenshot of
Developer tips RuboCop in a Legacy Codebase — Safe Rollout Without the 4,000-File Diff Someone adds RuboCop to a six-year-old Rails app, runs it, and gets 47,000 offences. The obvious next move — rubocop -A and commit — produces a diff touching every file in the repository,
Developer tips Setting Up Pre-Commit Hooks for Ruby Projects A pre-commit hook that runs your full test suite gets bypassed with --no-verify within a week, and then it may as well not exist. A hook that catches a committed binding.pry in 200
Developer tips Pair Programming Tips for Remote Developers Remote pairing has a bad reputation earned mostly by bad sessions: three hours on a call, one person driving the whole time, the other watching a laggy screen share and drifting into Slack.
Developer tips Writing Error Messages That Help — What to Include and What to Skip Invalid configuration. That’s the whole message. Somewhere in a 300-line YAML file there’s a problem, and the program knows exactly which key, which line, and what it expected — it just chose not
Developer tips How to Use GitHub CLI for PRs and Issues Without Touching the Browser Push a branch, switch to the browser, wait for it to load, click “Compare & pull request”, retype the description you already wrote in your commit message, pick reviewers from a dropdown, submit.
Developer tips Semantic Versioning in Practice — When to Bump Major, Minor, or Patch Everyone knows MAJOR.MINOR.PATCH. The spec fits on one page and takes four minutes to read. And yet every library maintainer has shipped a patch release that broke someone, because the hard part was
Developer tips Using .gitignore Effectively for Rails Projects Somebody commits .DS_Store, someone else adds *.DS_Store to the project’s .gitignore, and three months later there are eleven personal editor entries in a file that’s supposed to describe the project. Meanwhile config/master.key is
Developer tips Terminal Shortcuts Every Developer Should Know You mistype a flag near the start of a long command and hold the left arrow for four seconds to get there. You retype a path you used two commands ago. You press
Developer tips Pry Power User — ls, cd, show-source, and the Commands That Replace Grep Most people install Pry, use it as a slightly nicer IRB with a binding.pry breakpoint, and never touch the rest. That’s a shame, because the interesting part isn’t the REPL — it’s that
Developer tips Editor Setup for Rails — The Extensions and Keybindings Worth Keeping There’s a genre of blog post that lists forty editor extensions. You install all forty, your editor takes twelve seconds to start, three of them fight over formatting, and you uninstall the lot
Developer tips Shell Aliases and Functions Every Rails Dev Should Have You type bundle exec rspec spec/models/ maybe forty times a day. Over a year that’s a few hours of pure keystrokes, and more importantly it’s a few hours of tiny frictions that discourage
Developer tips How to Navigate an Unfamiliar Open Source Codebase Fast A gem is misbehaving and the docs don’t cover your case. You clone it, open the source, and there are 340 files. The instinct is to start at the top of the directory