-
-
Notifications
You must be signed in to change notification settings - Fork 108
Upgrade Rails to 5.1.4 and Scrivito to 1.11.0 #163
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
Conversation
This reverts pending Scrivito controller tests: 454ba9d
@nalabjp すみません 💦 だいたい Rails 5.1 に更新できたかなと思ったのですが、このテストが落ちる原因だけがよくわからなくてちょっと手が止まっちゃっています ><
cf. https://travis-ci.org/coderdojo-japan/coderdojo.jp/builds/294500786#L664-L676 もし何かアイデアがあればアドバイスもらえるとめっちゃ助かります 🙏 💦 (手元ではテストが全て通っているので、DB周りで何か見逃してるのかなぁと考えています🤔💭) |
んー、 $ bundle exec rspec spec/
...............................................
Finished in 13.05 seconds (files took 5.87 seconds to load)
47 examples, 0 failures |
b605976
to
45971bf
Compare
あぁ、ゴメンナサイ、Modelの実装のような気が。
この2箇所でFOREIGN KEY制約をかけているので、 coderdojo.jp/app/models/dojo.rb Lines 6 to 7 in 688f1f5
ここに dependent: :destroy を追加しないといけないのかな?🤔(未確認)
|
オォ! ありがとうございます! 😸 とりあえず feature branch に push して Travis CI 走らせてみます 💨 |
See the following discussion for details. #163 (comment)
Hmm, テストが同じところで落ちているところを見ると、別の何かが原因っぽいですねぇ🤔💭 |
あ、 |
試してみます! 💨 |
アドバイスありがとうございます! 😸 無事にテスト通りました✅ ✨ |
This PR upgrades Rails, Scrivito, and other related gems to the latest versions:
$ bundle update
to update other related gems