View Single Post
  #17  
Old 10-15-2009, 10:41 AM
jerrett jerrett is offline
Member
 
Join Date: Jan 2007
Posts: 13
Looks like disconnect! is still needed in RailsRunner.rb.. this change fixes the problem:



Code:
if defined?(ActiveRecord::Base) 
  ActiveRecord::Base.disconnect!
  ActiveRecord::Base.connection_handler.clear_active_connections!
end
Reply With Quote