質問編集履歴

1

記述ミスを変更

2018/01/28 02:21

投稿

tukatti7772
tukatti7772

スコア20

test CHANGED
File without changes
test CHANGED
@@ -72,7 +72,7 @@
72
72
 
73
73
  ```
74
74
 
75
- as_attached_file :avatar, styles: { medium: "300x300#", thumb: "30x30#" },
75
+ has_attached_file :avatar, styles: { medium: "300x300#", thumb: "30x30#" },
76
76
 
77
77
  :storage => :s3,
78
78