質問編集履歴
2
a
test
CHANGED
File without changes
|
test
CHANGED
@@ -76,7 +76,7 @@
|
|
76
76
|
|
77
77
|
as_json(
|
78
78
|
|
79
|
-
methods: [:
|
79
|
+
methods: [:full_name]
|
80
80
|
|
81
81
|
)
|
82
82
|
|
1
a
test
CHANGED
File without changes
|
test
CHANGED
@@ -62,11 +62,11 @@
|
|
62
62
|
|
63
63
|
indexes :id, type: :integer
|
64
64
|
|
65
|
-
indexe
|
65
|
+
indexes :first_name, type: text
|
66
66
|
|
67
|
-
indexe
|
67
|
+
indexes :last_name, type: text
|
68
68
|
|
69
|
-
indexe
|
69
|
+
indexes :full_name, type: text, as: 'full_name'
|
70
70
|
|
71
71
|
end
|
72
72
|
|