Added letter_opener

This commit is contained in:
2024-08-17 21:03:34 +02:00
parent ca113ceb61
commit c1a6dae600
3 changed files with 13 additions and 0 deletions

View File

@@ -59,6 +59,8 @@ group :development do
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
# gem "spring"
gem "letter_opener"
end
group :test do

View File

@@ -93,6 +93,8 @@ GEM
rack-test (>= 0.6.3)
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
childprocess (5.1.0)
logger (~> 1.5)
concurrent-ruby (1.3.3)
connection_pool (2.4.1)
crass (1.0.6)
@@ -134,6 +136,11 @@ GEM
activesupport (>= 5.0.0)
json (2.7.2)
language_server-protocol (3.17.0.3)
launchy (3.0.1)
addressable (~> 2.8)
childprocess (~> 5.0)
letter_opener (1.10.0)
launchy (>= 2.2, < 4)
logger (1.6.0)
loofah (2.22.0)
crass (~> 1.0.2)
@@ -352,6 +359,7 @@ DEPENDENCIES
importmap-rails
inline_svg (~> 1.9)
jbuilder
letter_opener
pdf-reader (~> 2.12)
puma (>= 5.0)
rails (~> 7.2.0, >= 7.2.0)

View File

@@ -78,4 +78,7 @@ Rails.application.configure do
# Apply autocorrection by RuboCop to files generated by `bin/rails generate`.
# config.generators.apply_rubocop_autocorrect_after_generate!
config.action_mailer.delivery_method = :letter_opener
config.action_mailer.perform_deliveries = true
end