【发布时间】:2015-06-11 15:47:05
【问题描述】:
我不能完全决定如何解决问题。
我需要保存 3x2 不同的图像:
(Small and smallx2), (icon and iconx2), (thumb and thumbx2),
我的视图表单你应该 3 个字段用于上传 3 个不同的图像: 小的 图标 和拇指
我正在考虑在模型中为每个图像创建 3 个字段。有没有人有更好的想法?
【问题讨论】:
标签: ruby-on-rails ruby-on-rails-3 paperclip