This can be rewritten as

```ruby
location = config[:access_type] ? "dropbox" : uploader.store_path
```

This way, you're not assigning a value to a variable then assigning a new one without even using the first.