回答編集履歴
1
変数抜けを修正
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
```RUBY
|
10
10
|
|
11
|
-
File.open(Rails.root.join("assets/images/default.jpg")) do
|
11
|
+
File.open(Rails.root.join("assets/images/default.jpg")) do |f|
|
12
12
|
|
13
13
|
@event.event_image_cache = f
|
14
14
|
|