-
Notifications
You must be signed in to change notification settings - Fork 75
NewsPaperからActiveSupport::Notificationsに3クラス分実装を置き換える #8935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
61ebb19
user作成時の通知をNewsPaperからActiveSupport::Notificationに変更
thmz337 d3e71a3
conflictの解消
thmz337 2ef795d
定期イベント更新時の通知をNewsPaperからActiveSupport::Notificationに変更
thmz337 b141d0e
rubocopの指摘と、エラーが出ていたテストを修正
thmz337 4053be7
activity_mailer.rbを変更前の状態に戻す
thmz337 44493dd
SignUpNotifierの削除
thmz337 eb624cf
購読一覧の並びを変更
thmz337 9b50abd
Conflictの修正忘れの対応
thmz337 fd09bb9
PR8973に表記を合わせる
thmz337 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
この処理は無くなっても大丈夫でしょうか?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@komagata
お疲れ様です。ご確認ありがとうございます。
こちらの処理で
SignUpNotifierを呼び出しているのですが、行っている処理はメール配信停止用のトークンを発行して、ユーザーに設定を行うことです。@tyrrell-IH さんともやり取りをしたのですが、クラス名と異なり通知機能を備えていない(通知は別の箇所で行っています)ため、メール配信停止トークンの設定は別途切り出し、
(
@user.unsubscribe_email_token = SecureRandom.urlsafe_base64の箇所です)該当箇所を削除しました。以上よろしくお願いいたします。