質問編集履歴

2

修正

2020/03/15 16:04

投稿

wesker.alice
wesker.alice

スコア45

test CHANGED
File without changes
test CHANGED
@@ -136,12 +136,6 @@
136
136
 
137
137
 
138
138
 
139
- ```
140
-
141
-
142
-
143
- ```
144
-
145
139
  ### 試したこと
146
140
 
147
141
 

1

追記修正

2020/03/15 16:04

投稿

wesker.alice
wesker.alice

スコア45

test CHANGED
File without changes
test CHANGED
@@ -146,9 +146,9 @@
146
146
 
147
147
 
148
148
 
149
- ベストアンサー通りに# なしでrails s でサーバーを起動し、http://localhost:3000/usersにアクセスしたところエラーが出て困っています。
149
+ config/initializers/assets.rb一番下「Rails.application.config.assets.precompile += %w( users.js users.css )」を# なしで保存しrails s でサーバーを起動し、http://localhost:3000/usersにアクセスしたところエラーが出て困っています。
150
-
150
+
151
- 書籍には書いてあったものの、見当たらないので、app/assets/の下にjavascriptsフォルダを作成し、その中に「users.coffee」を新規作成しました。
151
+ 書籍にはusers.coffeeが書いてあったものの、見当たらないので、app/assets/の下にjavascriptsフォルダを作成し、その中に「users.coffee」を新規作成しました。
152
152
 
153
153
 
154
154