リア充爆発日記

You don't even know what ria-ju really is.

2014-08-12から1日間の記事一覧

paperclipをAWSのS3+Cloudfrontで使うときの設定メモ

ワリと時間かかったのでメモ。config/environments/production.rb config.paperclip_defaults = { storage: :s3, s3_host_alias: 'your.cloudfront.net', path: '/:class/:attachment/:id/:style/:hash.:extension', url: ':s3_alias_url', s3_host_name: 's…