Thank you for the hints!

On Wednesday, April 23, 2014 4:54:42 PM UTC-4, Jeremy Evans wrote:
>
> On Wednesday, April 23, 2014 12:26:37 PM UTC-7, Kenny Meyer wrote:
>>
>> My environment does not have a global DB constant, consequently I cannot 
>> run `DB.disconnect` - does it need to be initialised somewhere?
>>
>
> I recommend figuring out where your Sequel::Database instances are stored 
> and call disconnect on them.  Avoid "helper" libraries that hide the 
> initialization from you.
>
> If you want to remain ignorant of how your Sequel::Database instances are 
> initialized, you can probably get a reference to the Database instance via 
> Sequel::Model.db or Sequel::DATABASES.
>
> Thanks,
> Jeremy
>

-- 
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.

Reply via email to