Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- default: &default
- adapter: sqlserver
- host:
- pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
- username:
- password:
- timeout: 5000
- development:
- <<: *default
- database:
- encoding: unicode
- production:
- <<: *default
- database:
- irb(main):006:0> client = TinyTds::Client.new(:username => '', :password => "", :host => "")
- => #<TinyTds::Client:0x00000006975a80 @message_handler=nil, @query_options={:as=>:hash, :symbolize_keys=>false, :cache_r
- ows=>true, :timezone=>:local, :empty_sets=>true}>
- irb(main):007:0> client.dead?
- => false
Add Comment
Please, Sign In to add comment