On Apr 1, 9:57 am, Michael Lang <[email protected]> wrote: > Seems to me the better approach is to keep the default "client" and pass in > an option that can potentially override it and thus maintain backwards as > well as widest compatibility. I personally rarely change the mysql config > files unless its to move the socket file elsewhere and even then, that's a > rarity these days and I have definitely never added a "sequel" group to any > of mine. > > How about simply changing line #97: > > conn.options(Mysql::READ_DEFAULT_GROUP, opts[:config] || "client") > > Then, if somebody needs to use a different group, they can override with > :config => "sequel" or whatever suits their needs.
That does seems like a better solution to me, though I'd probably use :config_default_group as the option key. Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
