回答編集履歴
1
fix true_flags
answer
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
c: 'シー'
|
29
29
|
```
|
30
30
|
|
31
|
-
モデルのコードはこんな感じで
|
31
|
+
モデルのコードはこんな感じで(修正しました)
|
32
32
|
|
33
33
|
```lang-ruby
|
34
34
|
class User < ActiveRecord::Base`
|
@@ -46,6 +46,7 @@
|
|
46
46
|
ret << flag_name
|
47
47
|
end
|
48
48
|
end
|
49
|
+
ret
|
49
50
|
end
|
50
51
|
|
51
52
|
def i18n_true_flags
|