I'm using Shrine gem to allows user upload their document in devise registration form. There is a strange issue as below:
- If no file is attached to registration form, confirmation email is sent successfully.
- If user attached any file(cv image) to the form, confirmation email is not sent, it seem that
send_on_create_confirmation_instructions
callback is not called even there is a transaction commit event.