`ActiveRecordDecorator` object should quack only with `name` method, so sth like OpenStruct might be another possible option

```ruby
if args[0].respond_to? :connection_pool_name
  args[0] = OpenStruct.new(:name => args[0].connection_pool_name)
elsif args[0].is_a? String
  args[0] = OpenStruct.new(:name => args[0])
end
```