回答編集履歴

1

修正

2018/10/18 07:17

投稿

asm
asm

スコア15147

test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ```rb
4
4
 
5
- @book = Book.order(%(length(replace(title, ' ', '')) desc))
5
+ @book = Book.order(Arel.sql(%(length(replace(title, ' ', '')) desc)))
6
6
 
7
7
  ```
8
8