Guest User

Untitled

a guest
Nov 8th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. default: &default
  2. adapter: sqlserver
  3. host:
  4. pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
  5. username:
  6. password:
  7. timeout: 5000
  8.  
  9. development:
  10. <<: *default
  11. database:
  12. encoding: unicode
  13.  
  14. production:
  15. <<: *default
  16. database:
  17.  
  18. irb(main):006:0> client = TinyTds::Client.new(:username => '', :password => "", :host => "")
  19. => #<TinyTds::Client:0x00000006975a80 @message_handler=nil, @query_options={:as=>:hash, :symbolize_keys=>false, :cache_r
  20. ows=>true, :timezone=>:local, :empty_sets=>true}>
  21. irb(main):007:0> client.dead?
  22. => false
Add Comment
Please, Sign In to add comment