```ruby
Whitehall::Uploader::AttachmentCache.default_root_directory = if Rails.env.production?
  "/mnt/apps/whitehall-admin/attachment-cache"
else
  Rails.root.join("tmp", "cache", "attachment-cache")
end
```

Use same location for attachment cache on all environments.
user
```ruby
Whitehall::Uploader::AttachmentCache.default_root_directory = Rails.root.join("attachment-cache")
```
assistant