]> git.openstreetmap.org Git - rails.git/commit
Allow FactoryBot to set primary key attributes
authorTom Hughes <tom@compton.nu>
Tue, 28 Nov 2023 18:25:35 +0000 (18:25 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 28 Nov 2023 18:25:35 +0000 (18:25 +0000)
commita74f07d5074d3addea668beb33803cc1dfc9c74d
tree759fe84f784e730b3e12986d18dc5b7f5e0ed8c8
parent447089330adc6141bf6f19c031e160a888658afa
Allow FactoryBot to set primary key attributes

We have at least model (Language) which does not use datbase
generated primary keys so we need to be able to set them.

https://github.com/thoughtbot/factory_bot_rails/pull/419
config/environments/test.rb