Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在重建一个 2005 年在 rails 2.0.1 上创建的站点。它使用 file_column 进行图像管理。我想将carrierwave与AWS3一起使用。有没有人进行过这种转换?
有超过 50k 图像需要传输和加载。
谢谢,
史蒂夫
我正在研究与此类似的解决方案。我有一个使用 File_column 的 Rails 1.1.6 项目。
我不明白的部分是file_column存储背后的逻辑。它在目录中存储文件的方式似乎完全随机。
我正在编写一个脚本,将所有文件移动到根文件夹中,清除所有琐碎的子目录。然后它将获取文件名并执行查找以找出资产属于哪个记录。然后我将重新上传每个文件。