Help us understand the problem. What is going on with this article?

Ruby on Railsチュートリアルでつまづいたところ

* rails 6.0.0 での出来事 *

Ruby on Railsチュートリアル
https://railstutorial.jp

「2.3.5 アプリケーションをデプロイする」でデプロイ失敗
heroku open
すると、503^q^
heroku logs --tail
であとよろしく。的な。

下記サイトを参考にさせていただき
https://qiita.com/m-itoidcf/items/77d064147a32169b5449

そういう時は
heroku run rails console | grep Error
がいいらしい。

自分の場合は
/app/app/models/user.rb:3:in `class:User': uninitialized constant User (call 'User.connection' to establish a connection)::FILL_IN (NameError)
ということらしい。

・・・どういうことか分からないがuser.rbの3行目がおかしい。
のであれば、そこをバッサリ消去!(ついでに同じ内容の4行目も消去) 

結果:エラーなくなりました。

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away