回答編集履歴

1

修正

2021/09/24 09:51

投稿

winterboum
winterboum

スコア23364

test CHANGED
@@ -1,4 +1,4 @@
1
- `(undefined method `company' for nil:NilClass):` ですから
1
+ `(undefined method 'company' for nil:NilClass):` ですから
2
2
 
3
3
  `= charge.service_contract.company.name` の `charge.service_contract` が nilなのです。
4
4