回答編集履歴

1

記述間違い

2021/08/18 01:21

投稿

J_O
J_O

スコア143

test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  .where(["title LIKE(?) OR body LIKE(?) OR sub_title LIKE(?) OR tag_name LIKE(?)",
10
10
 
11
-        "%#{search_word}%", "%#{search_word}%", "%#{search_word}%"], "%#{search_word}%")
11
+        "%#{search_word}%", "%#{search_word}%", "%#{search_word}%"], "%#{search_word}%"])
12
12
 
13
13
  end
14
14