Follow

Working on an idempotent db/seeds set up today for an old rails project. So much better than copying from production. Can’t believe I haven’t done it before.

@jordanbrock Tell me more about this! Is your data based on production at all, or is it hand-crafted using fixtures/factorybot?

Did you do anything special for idempotency above `rails db:seed:replant`?

Sign in to participate in the conversation
Ruby.social

A Mastodon instance for Rubyists & friends