From 6167a0572f2b769d082c72bcb05a567960f1f84e Mon Sep 17 00:00:00 2001 From: obregonia1 Date: Thu, 7 Dec 2023 16:41:27 +0900 Subject: [PATCH] Fix README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index faece76..4002df7 100644 --- a/README.md +++ b/README.md @@ -161,8 +161,8 @@ column named `id` as its primary key. For example, defining an `id` attribute with `add_attribute(:id)`, `id { ... }`, or `sequence(:id)` will raise a `FactoryBot::AttributeDefinitionError`. -You can disable this behavior by adding the following to `config/application.rb` -or the appropriate environment configuration in `config/environments`: +You can disable this behavior by adding the following to the appropriate environment configuration in `config/environments` +e.g. `config/environments/test.rb`: ```ruby config.factory_bot.reject_primary_key_attributes = false