質問編集履歴
2
内容の編集
title
CHANGED
File without changes
|
body
CHANGED
@@ -98,5 +98,5 @@
|
|
98
98
|
|
99
99
|
### 試したこと
|
100
100
|
|
101
|
-
・
|
101
|
+
・multipart: trueをビューとrspecで試しましたが、同じエラーしか出ません(form_tagは無いので、ダメもとでeach文で試しました)。
|
102
102
|
・paperclip.rbを作成しPaperclip::DataUriAdapter.registerをしてみましたが、結果は同じでした。
|
1
内容の編集
title
CHANGED
File without changes
|
body
CHANGED
@@ -32,7 +32,7 @@
|
|
32
32
|
given!(:taxon) { taxonomy.root }
|
33
33
|
given!(:product) { create(:product, name: "Bags", taxons: [taxon]) }
|
34
34
|
given(:product_image) do
|
35
|
-
product.master.images.create(attachment: create(:image).attachment.url)
|
35
|
+
product.master.images.create(attachment: create(:image).attachment.url) ⇦ この部分
|
36
36
|
end
|
37
37
|
|
38
38
|
background do
|