It helps when the new hash is actually used...
git-svn-id: file:///home/svn/framework3/trunk@5055 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
84370e82aa
commit
4c650f865b
|
@ -54,7 +54,7 @@ class DBManager
|
|||
|
||||
begin
|
||||
ActiveRecord::Base.threaded_connections = false
|
||||
ActiveRecord::Base.establish_connection(opts)
|
||||
ActiveRecord::Base.establish_connection(nopts)
|
||||
rescue ::Exception => e
|
||||
elog("DB.connect threw an exception: #{e.to_s}")
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue