回答編集履歴

4

2017/05/15 09:09

投稿

moke
moke

スコア2241

test CHANGED
File without changes

3

2017/05/15 09:09

投稿

moke
moke

スコア2241

test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  class DeliveryAddress < ApplicationRecord
12
12
 
13
- belongs_to :request_form ,optional: :true
13
+ belongs_to :request_form ,optional: true
14
14
 
15
15
  end
16
16
 

2

tureはシンボルじゃない

2017/05/15 09:09

投稿

moke
moke

スコア2241

test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ここには書いてないので想像ですが
6
6
 
7
- DeliveryAddress modelのbelongs_to :request_form,optional: :trueを
7
+ DeliveryAddress modelのbelongs_to :request_form,optional: trueを
8
8
 
9
9
  ```ruby
10
10
 

1

tureはシンボルじゃない

2017/05/15 09:08

投稿

moke
moke

スコア2241

test CHANGED
File without changes