質問編集履歴

1

a

2021/10/02 11:39

投稿

k499778
k499778

スコア599

test CHANGED
File without changes
test CHANGED
@@ -20,9 +20,9 @@
20
20
 
21
21
  (1..5).each do |i|
22
22
 
23
- if cfop.id == hoge.public_send("fuga_#{i}_id")
23
+ if fuga.id == hoge.public_send("fuga_#{i}_id")
24
24
 
25
- updated_cfop_indexs << i
25
+ updated_indexs << i
26
26
 
27
27
  return {
28
28
 
@@ -40,7 +40,7 @@
40
40
 
41
41
  (1..5).each do |i|
42
42
 
43
- unless updated_cfop_indexs.include?(i)
43
+ unless updated_indexs.include?(i)
44
44
 
45
45
  return {
46
46