There are a couple of bugs with the Sybase adapter for Ruby on Rails.
If anyone is familiar with RoR, they might take a look:
#8400 ([PATCH] sybase_adapter.rb does not sup****t reconnects) - Rails
Trac - Trac
http://dev.rubyonrails.org/ticket/8400
#10629 (Issue with the Sybase Adapter Using Unnecessary Database
Recources) - Rails Trac - Trac
http://dev.rubyonrails.org/ticket/10629
#6878 ([PATCH] Sybase Adapter - Don't set length for text columns) -
Rails Trac - Trac
http://dev.rubyonrails.org/ticket/6878