From 2be29ed450ab241434b5444a6e954272f18e1f4a Mon Sep 17 00:00:00 2001 From: Jim Benton Date: Sat, 21 Sep 2024 16:18:16 -0500 Subject: [PATCH] Don't send emails during seeding. --- db/seeds.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/seeds.rb b/db/seeds.rb index 67823b1b2..db83f2ae7 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,3 +1,5 @@ +ActionMailer::Base.perform_deliveries = false + def seed_library(library, email_suffix = "", postal_code = "60609") ActsAsTenant.with_tenant(library) do member_attrs = {