the memoization (`@assets_hash ||=`) is used so the whole logic is executed once and cached in that instance variable. This works fine if the subsequent method calls are using the same arguments (or none), but that isn't the case anymore.

```ruby
a_hash = assets_hash(scope)
# on this second call the same result of the previous call will be returned, regardless
# of the different options.
a_hash = assets_hash(scope, type: 'image')
```

For the `options` Hash to have any effect this memoization needs to go away or the results should be cached differently.