[ruby/sinatra] Fix clear_active_connections! deprecation (#8975)
Fixes the following warning:
DEPRECATION WARNING: Calling
`ActiveRecord::Base.clear_active_connections! is deprecated. Please
call the method directly on the connection handler; for example:
`ActiveRecord::Base.connection_handler.clear_active_connections!`.
(called from block in <class:HelloWorld> at
/sinatra/hello_world.rb:43)