Thread
:
LSWS Rails App MySQL Connection Errors
View Single Post
#
14
10-14-2009, 03:31 PM
jerrett
Member
Join Date: Jan 2007
Posts: 13
The solution to this is to put:
ActiveRecord::Base.connection.disconnect!
in your environment.rb (at the end)
A better solution would be to add this to RailsRunner.rb, right after environment is loaded .. maybe in a future release?
jerrett
View Public Profile
Send a private message to jerrett
Find all posts by jerrett