Gem 使用 carrierwave-upyun,在 create 的时候连同上传头像出现 RestClient::Unauthorized! 而 update 没有!

stephen · December 21, 2013 · Last by leslin123 replied at March 17, 2014 · 1762 hits

使用 carrierwave-upyun, 比如创建一个职员,在 create 时候连同上传头像! 现在出现问题: 在 create 的时候一同上传图片出现 RestClient::Unauthorized! 而 update 没有! 是不是由于这一句问题:model.uploader_secure_token

碰到和你一模一样的问题,这个怎么解决的呢?

You need to Sign in before reply, if you don't have an account, please Sign up first.