Skip to content

Commit 9ea9c84

Browse files
Fix uninitialized constant CustomDeviseMailer on new org user invite (Resolves #5745) (#5762)
* Fix uninitialized constant CustomDeviseMailer when inviting a user in a cold-loaded process (#5745) Bump devise_invitable 2.0.13 -> 2.0.14. 2.0.13's :action_mailer load hook resolved Devise.mailer while CustomDeviseMailer was still being autoloaded, so the first invite in a non-eager-loaded process failed. 2.0.14 (scambra/devise_invitable#929) contains only that fix. Adds a spec that boots a fresh non-eager-loaded process, since CI eager-loads and hides the failure. Resolves #5745 * Remove cold-load regression spec per review (#5745) The dependency bump fixes the issue; the spec was only needed to demonstrate it.
1 parent db6ce1c commit 9ea9c84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Gemfile.lock‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ GEM
203203
railties (>= 7.0)
204204
responders
205205
warden (~> 1.2.3)
206-
devise_invitable (2.0.13)
206+
devise_invitable (2.0.14)
207207
actionmailer (>= 5.0)
208208
devise (>= 4.6)
209209
diff-lcs (1.6.2)

0 commit comments

Comments
 (0)