Hi Eric,
I've started work on trying to get SQLA working with Rails3. The first
problem I struck was with Ruby 1.9.2 comparability, I've forked the
sqlanywhere gem and updated it to work with 1.9. Currently the code it
not backward compatible as I'm simply trying to get things working. I
did the same for the activerecord-sqlanywhere-adapter which I forked
and updated.
I was able to establish a connection using a test Rails3 app but
struck a problem when I tried to access a table within the DB, I got
this message:
SQLAnywhere is not supported by Arel
From my limited knowledge Arel (
http://github.com/rails/arel) is now
used to generate the SQL statements and needs an adapter for each DB
type, currently SQLA is not supported. I can see an Arel adapter will
need to be created for SQLA but I'm a bit out of my depth as I'm
unsure how this ties in with the current SQL adapter code base, do we
use the existing code or is a completely new adapter required.
That's as far as I've got so far, let me know if I can help out in
anyway.
Regards,
Etienne.