テスト用のymlファイルでPaperclipフィールドを指定する最良の方法は何ですか? 考えられる解決策の 1 つは、 Fixtures with Paperclipで概説されていますが、それを機能させる方法がわかりません。
ここに私が持っているものがあります:
モデル.yml
one:
id: 2
image: image.jpg
two:
id: 2
image: image.jpg
モデル
class Doodle < ActiveRecord::Base
attr_accessible :image
has_attached_file :image,
:styles => {:thumb => "100x100>"},
:storage => :s3,
:s3_credentials => S3_CREDENTIALS
乾杯、アンドレイ