Methods
S
Instance Public methods
store_dir()

Override the directory where uploaded files will be stored. This is a sensible default for uploaders that are meant to be mounted:

# File app/uploaders/attachment_uploader.rb, line 15
def store_dir
  "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
end