Skip to content

Commit

Permalink
Don't send emails during seeding.
Browse files Browse the repository at this point in the history
  • Loading branch information
jim committed Sep 21, 2024
1 parent 665d424 commit 2be29ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/seeds.rb
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down

0 comments on commit 2be29ed

Please sign in to comment.