Step-by-step instructions for learning Test-Driven Development (TDD) in Ruby.
There’s nothing to fear!
Try out enums, a new data structure macro in Rails.
Use microservices to compose and analyse light-weight declarative data pipelines.
Write less form-related code in your Capybara tests with
our newly open-sourced library, Formulaic.
Use composition to build more complex SQL queries in Ruby
using ActiveRelation’s API.
Before adding database indexes, eager loading, and caches,
spend a few minutes at the whiteboard with your team to rethink
the high-level requirements for your JSON API.
An in-depth look at HTTP requests and how Ajax works in Rails.
How to use Capybara’s
Make clunky negation queries in ActiveRecord easier to read.
We use RSpec feature and specs heavily,
controller and view specs more judiciously,
FactoryGirl for test data,
like test doubles and test spies but not test mocks,
and we stub external requests with Webmock.