hle-skillz
hle-skillz
> I pulled from this branch but it's not working for me (I'm using Rails 6.1.3.2). > Whenever I try to query something on a table, this is the error...
Darn, never mind looks like aeac860f9bae5ebab51582c1687b113dac403acf added `flush_idle_connections` which did not exist in [5.1.7](https://api.rubyonrails.org/v5.1.7/classes/ActiveRecord/ConnectionAdapters/ConnectionHandler.html#method-i-flush_idle_connections-21) so this gem no longer supports Rails 5.0 or 5.1.
@hsgubert Would it be viable to guard `flush_idle_connections` with a `respond_to?` to support older Rails?
In the release that bumped gemspec dependency to Rails 5.2 I only see the flush addition: https://github.com/hsgubert/rails-sharding/commit/aeac860f9bae5ebab51582c1687b113dac403acf but I guess `respond_to? flush_idle_connections` would only let you move this back to...