So I'm working with carrier wave direct, and I'm at the point where I need to update the "key" attribute on the uploader object. Here's the relevant line on the docs:
After uploading to S3, You'll need to update the uploader object with the returned key in the controller action that corresponds to new_user_url:
@uploader.update_attribute :key, params[:key]
The problem is that my @uploader object doesn't have an update_attribute method. In fact, when I look at all of the methods on the @uploader object, I see methods like key() and key=(), but no update_attribute.
Any idea what's going on? Did I miss some setup step that I need to perform to make the update_attribute method available?