Blog

Bestpractices

5 posts tagged bestpractices — the same founder-tested patterns, filtered.

TDD in Ruby: A Step-by-Step Guide

TDD in Ruby: A Step-by-Step Guide

A working Ruby tutorial for TDD on a small Order class. The 90-second loop, Shameless Green, Tidy First commits, and the reset move that makes it all safe.
How To Name Variables And Methods In Ruby

How To Name Variables And Methods In Ruby

What’s in a name? By any other name would smell as sweet. Junior developers often struggle to choose good names for variables and methods they write.
Avoid data migrations in the schema migrations for Rails

Avoid data migrations in the schema migrations for Rails

Could you re-run all migrations in the project? How often were you required to fix them while production was under fire?
Where to read ENV variables in Ruby on Rails application

Where to read ENV variables in Ruby on Rails application

What if the project has too many dependencies from the environment variables?
How to use Ruby on Rails Concerns

How to use Ruby on Rails Concerns

A Rails concern is a module that extends the ActiveSupport::Concern module.

Reading this because something is going wrong?

A free code audit gives you a written assessment of your codebase in plain English.

Get a Free Code Audit

Rated 4.8/5 on Clutch · you keep the write-up either way