I think is better to change this to:

```ruby
conditions = conditions.call if conditions.respond_to?(:call)
```

WDYT?