Conversation
📝 WalkthroughWalkthroughAnnouncementモデルから2つのポリモーフィック関連付け( Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related issues
Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 Review AppURL: https://bootcamp-pr-9834-fvlfu45apq-an.a.run.app
|
|
@y-kawahara-gs |
|
@zecky1120 |
There was a problem hiding this comment.
@zecky1120
確認しました!コード修正は問題ないかと思います!
descriptionに関しては変更確認の対象がRegularEventになっておりますが、Announcementだと思います!確認お願いします!
|
@y-kawahara-gs |
Issue
概要
FootprintableとWatchableには既に
has_manyが記載されているにも関わらず、Announcementにもhas_manyが二重に記載されていたので、削除した。補足情報:
Footprintableに記載されていた
dependent: :delete_allはこちらのイシューで既にマージされていたので修正は無しとする。変更確認方法
watchesの関連付け
chore/resolving-double-defined-association-in-the-Announcementをローカルに取り込むkomagataでログインするお知らせ作成 に遷移し、お知らせを作成する
お知らせを作成すると
Watchしているページへ移動 し先ほど作ったページがあるか確認する
Watch中になっているので、Watch中ボタンを押して外しますWatchしているページへ移動 しWatchしたページがないか確認する
footprintsの関連付け
komagata以外でログインするSummary by CodeRabbit
リリースノート