clst/activerecord-sqlanywhere-adapter — comment on commit dfad24008b9c67b5c93635f2e4537101b3be04d4
File:  line 0
By scollison:

If SQLite doesn't balk on the encoding parameter, I'll fudge it into
there. It's a kluge, but may be better than mucking in your code if
you aren't comfortable picking up the default ruby encoding, which is
also probably ungood.

I've tried looking at the active connection hash but once the
connection object is established I can't find a way to super the
connection config from the yaml file.

Thank you for your help.

s.

On Jan 17, 2012, at 8:02 AM, clst

wrote:

> Actually I didn't find out how. ActiveRecord::Base.connection looks pretty complex and I didn't have the time to take a look yet. You could however hard-code UTF-8 to have a quick fix.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/clst/activerecord-sqlanywhere-adapter/commit/dfad24008b9c67b5c93635f2e4537101b3be04d4#commitcomment-874327