Skip to content

Instantly share code, notes, and snippets.

@trusche
Last active September 17, 2025 19:09
Show Gist options
  • Select an option

  • Save trusche/1e7bc0032a5009ce430c92d5be57f035 to your computer and use it in GitHub Desktop.

Select an option

Save trusche/1e7bc0032a5009ce430c92d5be57f035 to your computer and use it in GitHub Desktop.
def create
self.resource = resource_class.send_confirmation_instructions(resource_params)
# ...
rescue Postmark::Error
flash[:error] = "We're sorry, there was an issue sending the confirmation email. Please contact our support team at [email protected] for help."
redirect_to users_welcome_path
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment