teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

書式の改善

2016/01/06 08:16

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -1,21 +1,23 @@
1
- 7章が全て終わりrails sでは問題なく登録できたのですが、
1
+ [Railsチュートリアル第7章](http://railstutorial.jp/chapters/sign_up?version=4.2#cha-sign_up)が全て終わり`rails s`では問題なく登録できたのですが、
2
- heroku push の後のheroku openで問題が発生しました。
2
+ `heroku push`の後の`heroku open`で問題が発生しました。
3
- http://localhost:3000/の画面は問題なく表示されたのですが
3
+ `http://localhost:3000/`の画面は問題なく表示されたのですが
4
4
  sign up now!と入力すると
5
5
 
6
- We're sorry, but something went wrong.
6
+ We're sorry, but something went wrong.
7
- If you are the application owner check the logs for more information.と表示されました。
7
+ If you are the application owner check the logs for more information.
8
8
 
9
- heroku logs で調べて問題がありそうなころpick upしてみました。
9
+ 表示されました。
10
- 具体的にどうすればいいか分からず悩んでいます。具体的な解決方法を教えていただくと幸いです。
11
10
 
11
+ `heroku logs`で調べて問題がありそうなところをピックアップしてみました。
12
+ 具体的にどうすればいいか分からず悩んでいます。具体的な解決方法を教えてください。
13
+
12
- Processing by UsersController#new as HTML
14
+ Processing by UsersController#new as HTML
13
- ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "users" does not exist
15
+ ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "users" does not exist
14
- LINE 5: WHERE a.attrelid = '"users"'::regclass
16
+ LINE 5: WHERE a.attrelid = '"users"'::regclass
15
- SELECT a.attname, format_type(a.atttypid, a.atttypmod),
17
+ SELECT a.attname, format_type(a.atttypid, a.atttypmod),
16
- pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
18
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
17
- FROM pg_attribute a LEFT JOIN pg_attrdef d
19
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
18
- ON a.attrelid = d.adrelid AND a.attnum = d.adnum
20
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
19
- WHERE a.attrelid = '"users"'::regclass
21
+ WHERE a.attrelid = '"users"'::regclass
20
- AND a.attnum > 0 AND NOT a.attisdropped
22
+ AND a.attnum > 0 AND NOT a.attisdropped
21
- ORDER BY a.attnum
23
+ ORDER BY a.attnum