7_0 / 8_0のテストでview_assignsを使うよう更新 - #104
Merged
Merged
Conversation
Contributor
Author
|
@claude 概要を参考に当PRをレビューしてください。
|
|
Claude finished @rakuda-san-desu's task —— View job レビュータスク
PRレビュー結果✅ 良い実装(参考になる箇所)1. 適切な非推奨メソッドの置き換え
2. 変更範囲の的確な判断
3. 確認作業の実施
💡 提案(より良い実装方法)1. テストの実行確認について各章のディレクトリで以下のテストを実行して、動作確認を行うことを推奨します: cd 7_0/ch11 && rails test test/integration/users_signup_test.rb
cd 7_0/ch12 && rails test test/integration/password_resets_test.rb
# 以降も同様に確認2. 将来的な対応についてRails 6.1以前のバージョン(6_1、6_0、5_1、5_0、4_2、4_0)にも 総評このPRは 承認可能 です。Rails 7.0および8.0での非推奨警告を解消する重要な更新であり、適切に実装されています。
|
Contributor
Author
|
問題なさそうなのでマージします🚀 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
概要
assigns(:user)をcontroller.view_assigns["user"]に更新確認
rg -n "assigns\(:users?\)" 7_0 8_0で対象コードが残っていないことを確認git diff --check -- 7_0 8_0を実行