質問編集履歴

2

文字の修正をしました。

2019/09/14 04:36

投稿

Tsuyoponpon
test CHANGED
@@ -1 +1 @@
1
- undefined method `where' for Book:Class (NoMethodError)
1
+ undefined method
test CHANGED
File without changes

1

修正

2019/09/14 04:29

投稿

Tsuyoponpon
test CHANGED
@@ -1 +1 @@
1
- undefined method
1
+ undefined method `where' for Book:Class (NoMethodError)
test CHANGED
@@ -9,8 +9,6 @@
9
9
  ```ruby
10
10
 
11
11
  # app/models/book.rb
12
-
13
-
14
12
 
15
13
  class Book < ApplicationRecord
16
14