質問編集履歴
2
サーバーログの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -178,7 +178,7 @@
|
|
178
178
|
|
179
179
|
ちなみにログは以下のようになっています。
|
180
180
|
@post.postがおかしいと指摘されています。
|
181
|
-
|
181
|
+
```
|
182
182
|
Started PATCH "/posts/3" for 182.169.182.77 at 2020-02-05 04:05:19 +0000
|
183
183
|
Cannot render console from 182.169.182.77! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
|
184
184
|
Processing by PostsController#update as HTML
|
@@ -212,41 +212,4 @@
|
|
212
212
|
11: </div>
|
213
213
|
|
214
214
|
app/views/posts/show.html.erb:8:in `_app_views_posts_show_html_erb__4156350255315023459_70020181469260'
|
215
|
-
関連した質問
|
216
|
-
|
215
|
+
```
|
217
|
-
|
218
|
-
noMethodErrorについて
|
219
|
-
|
220
|
-
解決済
|
221
|
-
|
222
|
-
updateアクションからconfirmアクションに移動してしまうのを改善したい。
|
223
|
-
|
224
|
-
解決済
|
225
|
-
|
226
|
-
投稿一覧の各投稿にユーザー名を表示したい
|
227
|
-
|
228
|
-
解決済
|
229
|
-
|
230
|
-
railsのnilに関して
|
231
|
-
|
232
|
-
解決済
|
233
|
-
|
234
|
-
rails ユーザーアイコンが表示できない
|
235
|
-
|
236
|
-
解決済
|
237
|
-
|
238
|
-
railsで投稿一覧にユーザー名を表示する際に発生したNoMethodError in Posts#...
|
239
|
-
|
240
|
-
受付中
|
241
|
-
|
242
|
-
ProgateのRailsコースのソースコードをcloud9で動作させた際にログインができない
|
243
|
-
|
244
|
-
解決済
|
245
|
-
|
246
|
-
投稿の編集ができません
|
247
|
-
|
248
|
-
同じタグがついた質問を見る
|
249
|
-
Ruby
|
250
|
-
Ruby on Rails
|
251
|
-
Ruby on Rails 5
|
252
|
-
Ruby on Rails 6
|
1
サーバーログの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -174,4 +174,79 @@
|
|
174
174
|
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
175
175
|
end
|
176
176
|
|
177
|
-
```
|
177
|
+
```
|
178
|
+
|
179
|
+
ちなみにログは以下のようになっています。
|
180
|
+
@post.postがおかしいと指摘されています。
|
181
|
+
|
182
|
+
Started PATCH "/posts/3" for 182.169.182.77 at 2020-02-05 04:05:19 +0000
|
183
|
+
Cannot render console from 182.169.182.77! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
|
184
|
+
Processing by PostsController#update as HTML
|
185
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"59L+eb7ZGGwKKsflK5wR21LNIDGsVXlknVjDRvZN/TOQpjRT+2q9YknU1QdAlois8SxZarj2iFlST4xtyFTLyg==", "post"=>{"post"=>"3つ目の投稿だよ!!!!!!!!!!!!!!!!!"}, "commit"=>"編集完了!", "id"=>"3"}
|
186
|
+
Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
|
187
|
+
Unpermitted parameters: :utf8, :_method, :authenticity_token, :post, :commit, :id
|
188
|
+
(0.1ms) begin transaction
|
189
|
+
(0.0ms) commit transaction
|
190
|
+
Redirected to https://ae33995f099d4ca0a2f9f7e5fe584a1c.vfs.cloud9.us-east-2.amazonaws.com/posts/index
|
191
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
192
|
+
|
193
|
+
|
194
|
+
Started GET "/posts/index" for 182.169.182.77 at 2020-02-05 04:05:19 +0000
|
195
|
+
Cannot render console from 182.169.182.77! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
|
196
|
+
Processing by PostsController#show as HTML
|
197
|
+
Parameters: {"id"=>"index"}
|
198
|
+
Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 0], ["LIMIT", 1]]
|
199
|
+
Rendering posts/show.html.erb within layouts/application
|
200
|
+
Rendered posts/show.html.erb within layouts/application (2.2ms)
|
201
|
+
Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.1ms)
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
ActionView::Template::Error (undefined method `post' for nil:NilClass):
|
206
|
+
5: <div class="col-md-6">
|
207
|
+
6: <div class="each-posts">
|
208
|
+
7:
|
209
|
+
8: <%= @post.post %>
|
210
|
+
9: <p><%= @post.created_at %></p>
|
211
|
+
10: <p><%= link_to "編集する", "/posts/#{@post.id}/edit" %></p>
|
212
|
+
11: </div>
|
213
|
+
|
214
|
+
app/views/posts/show.html.erb:8:in `_app_views_posts_show_html_erb__4156350255315023459_70020181469260'
|
215
|
+
関連した質問
|
216
|
+
解決済
|
217
|
+
|
218
|
+
noMethodErrorについて
|
219
|
+
|
220
|
+
解決済
|
221
|
+
|
222
|
+
updateアクションからconfirmアクションに移動してしまうのを改善したい。
|
223
|
+
|
224
|
+
解決済
|
225
|
+
|
226
|
+
投稿一覧の各投稿にユーザー名を表示したい
|
227
|
+
|
228
|
+
解決済
|
229
|
+
|
230
|
+
railsのnilに関して
|
231
|
+
|
232
|
+
解決済
|
233
|
+
|
234
|
+
rails ユーザーアイコンが表示できない
|
235
|
+
|
236
|
+
解決済
|
237
|
+
|
238
|
+
railsで投稿一覧にユーザー名を表示する際に発生したNoMethodError in Posts#...
|
239
|
+
|
240
|
+
受付中
|
241
|
+
|
242
|
+
ProgateのRailsコースのソースコードをcloud9で動作させた際にログインができない
|
243
|
+
|
244
|
+
解決済
|
245
|
+
|
246
|
+
投稿の編集ができません
|
247
|
+
|
248
|
+
同じタグがついた質問を見る
|
249
|
+
Ruby
|
250
|
+
Ruby on Rails
|
251
|
+
Ruby on Rails 5
|
252
|
+
Ruby on Rails 6
|