It didn't take too long to figure out, but just in case, make sure bucket option is set either in the has_attached_file declaration or your s3 config file pointed to by :s3_credentials option. Otherwise, you'll get a mysterious
"MethodNotAllowed: The specified method is not allowed against this resource." Error.
So head on over to Scott Mottes and learn it step by step. tip.
No comments:
Post a Comment