質問編集履歴

2

コントローラーの追加

2020/08/14 12:55

投稿

tomsuma
tomsuma

スコア38

test CHANGED
File without changes
test CHANGED
@@ -94,6 +94,26 @@
94
94
 
95
95
 
96
96
 
97
+ ```
98
+
99
+ bookコントローラー
100
+
101
+
102
+
103
+ def index
104
+
105
+ @books =Book.all
106
+
107
+ @book =Book.includes(:room,:user)
108
+
109
+ @room = @book.includes(:room)
110
+
111
+ set_book_column
112
+
113
+ end
114
+
115
+ ```
116
+
97
117
 
98
118
 
99
119
  ```
@@ -200,6 +220,8 @@
200
220
 
201
221
 
202
222
 
223
+
224
+
203
225
  何日も解決してません
204
226
 
205
227
  足りない情報がありましたら

1

編集

2020/08/14 12:55

投稿

tomsuma
tomsuma

スコア38

test CHANGED
File without changes
test CHANGED
@@ -197,3 +197,11 @@
197
197
 
198
198
 
199
199
  ```
200
+
201
+
202
+
203
+ 何日も解決してません
204
+
205
+ 足りない情報がありましたら
206
+
207
+ お声掛けお願いします、、