April 26, 2023

Why RSpec executes after_commit callbacks even with use_transactional_fixtures

I used to believe that after_commit callbacks are not executed within RSpec tests when config.use_transactional_fixtures is set to true. Well, I was wrong. Here's why.

Read more
July 27, 2021

RSpec - make sure your seeds work!

A collegue shared this code snippet that helps making sure your database/models changes don't break your seeds.

Read more