質問編集履歴
5
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,10 +2,6 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
![イメージ説明](2428b1592e1028ad2257e26e88a83292.png)
|
6
|
-
|
7
|
-
|
8
|
-
|
9
5
|
![イメージ説明](8332ee9034ee99c36d2567690bcaf0da.png)
|
10
6
|
|
11
7
|
|
4
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,6 +10,52 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
+
Heroku logs
|
14
|
+
|
15
|
+
```terminal
|
16
|
+
|
17
|
+
2019-08-22T13:31:36.184273+00:00 app[web.1]: Started GET "/guiders/sign_up" for 162.158.118.161 at 2019-08-22 13:31:36 +0000
|
18
|
+
|
19
|
+
2019-08-22T13:31:36.190461+00:00 app[web.1]: Processing by Guiders::RegistrationsController#new as HTML
|
20
|
+
|
21
|
+
2019-08-22T13:31:36.233898+00:00 app[web.1]: Rendered guiders/registrations/new.html.erb within layouts/application (28.7ms)
|
22
|
+
|
23
|
+
2019-08-22T13:31:36.234153+00:00 app[web.1]: Completed 500 Internal Server Error in 44ms (ActiveRecord: 0.0ms)
|
24
|
+
|
25
|
+
2019-08-22T13:31:36.239764+00:00 app[web.1]:
|
26
|
+
|
27
|
+
2019-08-22T13:31:36.239768+00:00 app[web.1]: ActionView::Template::Error (undefined method `accepted' for #<Guider:0x0000558b5178fe38>):
|
28
|
+
|
29
|
+
2019-08-22T13:31:36.239772+00:00 app[web.1]: 28: <%= f.text_field :nickname, autofocus: true, maxlength: "6" %>
|
30
|
+
|
31
|
+
2019-08-22T13:31:36.239774+00:00 app[web.1]: 29: </div>
|
32
|
+
|
33
|
+
2019-08-22T13:31:36.239776+00:00 app[web.1]: 30:
|
34
|
+
|
35
|
+
2019-08-22T13:31:36.239778+00:00 app[web.1]: 31: <%= f.check_box :accepted ,{},checked_value = "true",unchecked_value = "false" %>
|
36
|
+
|
37
|
+
2019-08-22T13:31:36.239781+00:00 app[web.1]: 32: <a class="ac" href="/guiders/:id/accepted">利用規約、及び、個人情報の取扱に同意する</a>
|
38
|
+
|
39
|
+
2019-08-22T13:31:36.239783+00:00 app[web.1]: 33:
|
40
|
+
|
41
|
+
2019-08-22T13:31:36.239785+00:00 app[web.1]: 34: <div class="actions">
|
42
|
+
|
43
|
+
2019-08-22T13:31:36.239788+00:00 app[web.1]: app/views/guiders/registrations/new.html.erb:31:in `block in _app_views_guiders_registrations_new_html_erb___1610938150473438876_47028427832020'
|
44
|
+
|
45
|
+
2019-08-22T13:31:36.239791+00:00 app[web.1]: app/views/guiders/registrations/new.html.erb:3:in `_app_views_guiders_registrations_new_html_erb___1610938150473438876_47028427832020'
|
46
|
+
|
47
|
+
2019-08-22T13:31:36.239793+00:00 app[web.1]:
|
48
|
+
|
49
|
+
2019-08-22T13:31:36.239795+00:00 app[web.1]:
|
50
|
+
|
51
|
+
2019-08-22T13:31:36.239272+00:00 heroku[router]: at=info method=GET path="/guiders/sign_up" request_id=eab95b38-2c21-49c4-9d25-0895d8150b1a fwd="118.103.63.155,162.158.118.161" dyno=web.1 connect=1ms service=58ms status=500 bytes=1728 protocol=https
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
```
|
56
|
+
|
57
|
+
|
58
|
+
|
13
59
|
```webpage
|
14
60
|
|
15
61
|
Failed to load resource: the server responded with a statue of 500(Internal Server Error)
|
3
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,6 +6,10 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
+
![イメージ説明](8332ee9034ee99c36d2567690bcaf0da.png)
|
10
|
+
|
11
|
+
|
12
|
+
|
9
13
|
```webpage
|
10
14
|
|
11
15
|
Failed to load resource: the server responded with a statue of 500(Internal Server Error)
|
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,6 +14,144 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
+
```gemfile
|
18
|
+
|
19
|
+
source 'https://rubygems.org'
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
26
|
+
|
27
|
+
gem 'rails', '4.2.11'
|
28
|
+
|
29
|
+
# Use mysql as the database for Active Record
|
30
|
+
|
31
|
+
gem 'mysql2', '0.3.18'
|
32
|
+
|
33
|
+
# Use SCSS for stylesheets
|
34
|
+
|
35
|
+
gem 'sass-rails', '~> 4.0.2'
|
36
|
+
|
37
|
+
# Use Uglifier as compressor for JavaScript assets
|
38
|
+
|
39
|
+
gem 'uglifier', '>= 1.3.0'
|
40
|
+
|
41
|
+
# Use CoffeeScript for .coffee assets and views
|
42
|
+
|
43
|
+
gem 'coffee-rails', '~> 4.1.0'
|
44
|
+
|
45
|
+
# See https://github.com/rails/execjs#readme for more supported runtimes
|
46
|
+
|
47
|
+
# gem 'therubyracer', platforms: :ruby
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
# Use jquery as the JavaScript library
|
52
|
+
|
53
|
+
gem 'jquery-rails'
|
54
|
+
|
55
|
+
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
|
56
|
+
|
57
|
+
gem 'turbolinks'
|
58
|
+
|
59
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
60
|
+
|
61
|
+
gem 'jbuilder', '~> 2.0'
|
62
|
+
|
63
|
+
# bundle exec rake doc:rails generates the API under doc/api.
|
64
|
+
|
65
|
+
gem 'sdoc', '~> 0.4.0', group: :doc
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
# Use ActiveModel has_secure_password
|
70
|
+
|
71
|
+
# gem 'bcrypt', '~> 3.1.7'
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
# Use Unicorn as the app server
|
76
|
+
|
77
|
+
# gem 'unicorn'
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
# Use Capistrano for deployment
|
82
|
+
|
83
|
+
# gem 'capistrano-rails', group: :development
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
group :development, :test do
|
88
|
+
|
89
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
90
|
+
|
91
|
+
gem 'byebug'
|
92
|
+
|
93
|
+
end
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
group :development do
|
98
|
+
|
99
|
+
# Access an IRB console on exception pages or by using <%= console %> in views
|
100
|
+
|
101
|
+
gem 'web-console', '~> 2.0'
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
106
|
+
|
107
|
+
gem 'spring'
|
108
|
+
|
109
|
+
end
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
gem 'pry-rails'
|
114
|
+
|
115
|
+
gem 'compass-rails','~> 2.0'
|
116
|
+
|
117
|
+
gem 'sprockets', '2.11.0'
|
118
|
+
|
119
|
+
gem 'websocket-rails'
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
#pagenation
|
124
|
+
|
125
|
+
gem 'kaminari'
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
#login_logout
|
130
|
+
|
131
|
+
gem 'devise'
|
132
|
+
|
133
|
+
gem 'paperclip'
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
#For Heroku
|
138
|
+
|
139
|
+
gem 'rails_12factor', group: :production
|
140
|
+
|
141
|
+
gem 'therubyracer', platforms: :ruby
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
#画像
|
146
|
+
|
147
|
+
gem 'carrierwave'
|
148
|
+
|
149
|
+
gem 'rmagick'
|
150
|
+
|
151
|
+
```
|
152
|
+
|
153
|
+
|
154
|
+
|
17
155
|
```view
|
18
156
|
|
19
157
|
<div class="contents center">
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
私は、今現在、サインアップページに利用規約を追加しようとしているのですが、Interval Server Errorを発生していて、ページが見えない状態になっています。localでは動くのですが、デプロイすると動かなくなります。わかる方がいらしたら、どうぞ教えていただきたいです。
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
![イメージ説明](2428b1592e1028ad2257e26e88a83292.png)
|
2
6
|
|
3
7
|
|
4
8
|
|