Skip to content
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

[bugfix] スケジュール追加時に500エラーにならないようにする #189

Merged
merged 2 commits into from
May 14, 2024

Conversation

e-ikuta
Copy link
Collaborator

@e-ikuta e-ikuta commented May 13, 2024

バグの再現手順

  • 任意のスケジュールを視聴予定に追加する
  • 500エラーになる
undefined method `[]' for nil
/Users/emine.ikuta/ghq/github.com/kufu/mie/app/views/schedules/_table_row.html.erb:19:in `block (2 levels) in _app_views_schedules__table_row_html_erb__4089312420943008097_42640'

@e-ikuta e-ikuta requested a review from kinoppyd May 13, 2024 10:40
@e-ikuta
Copy link
Collaborator Author

e-ikuta commented May 13, 2024

stagingと本番では再現しませんでした。(本番はまだ反映されてないなのかなと思うけど、stagingで再現しないのは謎)

@@ -151,6 +151,7 @@ def edit_title
nil
end

# rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

取り急ぎdisableにしています🙇‍♀

@kinoppyd kinoppyd merged commit 3326612 into main May 14, 2024
2 checks passed
@kinoppyd kinoppyd deleted the bugfix/add_schedule branch May 14, 2024 05:12
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.

2 participants