[ruby/rails] Update trilogy to 2.8.1 and use ssl for connection (#9027)
This fixes connection errors:
/usr/local/bundle/gems/activerecord-7.1.3.1/lib/active_record/connection_adapters/trilogy_adapter.rb:61:in
`rescue in new_client': trilogy_auth_recv: caching_sha2_password
requires either TCP with TLS or a unix socket: TRILOGY_UNSUPPORTED
(ActiveRecord::ConnectionNotEstablished)