回答編集履歴
1
記述間違い
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
|
|