This project is archived and is in readonly mode.
Update for sybase_adapter
-
windock
this will make sybase adapter more similar to "mainstream" mysql, sqlite
+1 -
jrochkind
- I hope someone is watching tickets related to the sybase adapter? Unpatched, makes it very confusing to get the adapter working.
However, with this patch, I'm still getting a very confusing error:
RuntimeError: Please install the sybase adapter:
gem install activerecord-sybase-adapter(no such file to load -- active_record/connection_adapters/sybase_adapter)from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_specification.rb:76:in `establish_connection'Even though I do have the gem installed. I guess this is still masking the actual problem with client libraries being gone? I wonder if AR itself masks it, and the sybase adapter needs to be patched in a different way to actually report the exception somehow instead of just raising it up to AR to catch?
-
jrochkind
I think the problem may be that this adapter doesn't work with Rails 2 at all?
-
windock
Actually, it works with Rails 2. But only with older versions, like 2.1 or so (stopped after big refactoring of AR drivers).
And yes, installing from gem is probably broken also, so I've ended hacking that in strange ways.Sorry, cannot help a lot, since our server with Sybase has been luckily and accidentally erased. Huh.
-
Matt
- Tag set to sybase rails3 active-record
- Importance changed from to
Any thoughts on getting the sybase adapter working with rails3 and arel?
-
rails
- State changed from new to open
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
rails
- State changed from open to stale
