質問編集履歴
1
コピーのミスを修正しました。score→one
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
class Customer < ActiveRecord::Base
|
12
12
|
|
13
|
-
has_one :
|
13
|
+
has_one :one, dependent: :destroy, autosave: true
|
14
14
|
|
15
15
|
```
|
16
16
|
|