-
Notifications
You must be signed in to change notification settings - Fork 384
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow one-time skipping of activation-related emails for new users.
This is useful for special cases where you want to manage the emails yourself (but still want the default config to send the emails) Activation Needed Example: special_user = User.new special_user.skip_activation_needed_email = true special_user.save! # activation needed email does not get sent Activation Success Example: special_user = User.find(special_user_id) special_user.skip_activation_success_email = true special_user.activate! # activation success email does not get sent
- Loading branch information
Showing
2 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters