My other question. I should know by now not to introduce more than one
topic in a posting :-)
How to detect quietly, a failure in the connection url. The following
does not enter the rescue section if bad password etc.
begin
DB = Sequel.connect("postgres://postgres:[EMAIL PROTECTED]:5432/
postgresPlay")
rescue
puts "failed" # <<<<< never entered if connection fails
end
Thanks
Paul Fraser
On Jan 16, 8:01 pm, paulf <[EMAIL PROTECTED]> wrote:
> Brilliant..it works
>
> Thanks Sharon
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---