Hey Thanx, I thought it was something obvious like that. For the life of me I could not find it in the docs.
I ran into another issue, though, where if I specify the db type, it has no connection when it gets to line 33 of the odbc adapter. I don't have the exact error and stack trace with me know, but it's something along the lines of "no method autocommit on Nil onbject". The code is conn.autocommit = true I'll send more details later. J On 12 Aug 2014 18:12, "Jeremy Evans" <[email protected]> wrote: > On Tuesday, August 12, 2014 8:50:41 AM UTC-7, Jurgens du Toit wrote: >> >> Same issue. It doesn't look like this is the correct way to invoke a >> subadapter, though, because I can change mysql to a random string, and I'll >> still get the undefined method error. >> > > You need to use the :db_type=>'mssql' option to specify the odbc/mssql > subadapter, as mentioned in the documentation: > > > http://sequel.jeremyevans.net/rdoc/files/doc/opening_databases_rdoc.html#label-odbc+ > > Thanks, > Jeremy > > -- > You received this message because you are subscribed to a topic in the > Google Groups "sequel-talk" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sequel-talk/wXmFBZCEtms/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sequel-talk. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
