Merge remote-tracking branch 'wchen-r7/fail_to_reload_fix'

bug/bundler_fix
Tod Beardsley 2013-01-15 01:43:07 -08:00
commit 6064dfcb71
1 changed files with 2 additions and 0 deletions

View File

@ -268,6 +268,8 @@ class DBManager
def disconnect
begin
ActiveRecord::Base.remove_connection
self.migrated = false
self.modules_cached = false
rescue ::Exception => e
self.error = e
elog("DB.disconnect threw an exception: #{e}")