Skip to content

見本課題として勤務依頼の備考更新を追加 - #17

Merged
ktkms merged 3 commits into
mainfrom
codex/sample-work-request-notes
Aug 27, 2026
Merged

ktkms merged 3 commits into
mainfrom
codex/sample-work-request-notes

Conversation

@ktkms

@ktkms ktkms commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

目的

見本課題として、既存の勤務依頼の備考を更新し、詳細画面で結果を確認できるようにしました。

変更内容

  • 詳細画面に備考表示と「備考を編集」リンクを追加
  • 備考編集画面と更新処理を追加
  • ControllerからWorkRequest.update_details!を利用
  • Strong Parametersではnotesだけを許可
  • 更新後は勤務依頼詳細へ戻る
  • ControllerとModelのテストを追加

確認

  • bundle exec rails test(59 runs, 189 assertions)
  • bundle exec rubocop
  • bundle exec brakeman -q

migration、schema、seed、Gemfile、Dev Container、Docker設定は変更していません。

@ktkms
ktkms merged commit b61edd2 into main Aug 27, 2026
4 checks passed
@ktkms
ktkms deleted the codex/sample-work-request-notes branch August 27, 2026 18:23
@ktkms ktkms self-assigned this Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant