回答編集履歴
4
あ
answer
CHANGED
File without changes
|
3
あ
answer
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
DeliveryAddress modelのbelongs_to :request_form,optional: trueを
|
5
5
|
```ruby
|
6
6
|
class DeliveryAddress < ApplicationRecord
|
7
|
-
belongs_to :request_form ,optional:
|
7
|
+
belongs_to :request_form ,optional: true
|
8
8
|
end
|
9
9
|
```
|
10
10
|
|
2
tureはシンボルじゃない
answer
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Railsのversionは書きましょう。
|
2
2
|
Rails5以降でしたら
|
3
3
|
ここには書いてないので想像ですが
|
4
|
-
DeliveryAddress modelのbelongs_to :request_form,optional:
|
4
|
+
DeliveryAddress modelのbelongs_to :request_form,optional: trueを
|
5
5
|
```ruby
|
6
6
|
class DeliveryAddress < ApplicationRecord
|
7
7
|
belongs_to :request_form ,optional: :true
|
1
tureはシンボルじゃない
answer
CHANGED
File without changes
|