
03-05-2009, 10:43 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
That's good.
I think we still need to support older release of Rails and only use that for 2.3 and above.
In the code
Quote:
|
ActiveRecord::Base.clear_active_connections! if defined?(ActiveRecord::Base)
|
may not work well unless the function has been added back in, seems it is missing in latest rails 2.2 release.
That's why we need to update RailsRunner.rb to discount and reconnect the connection manually in the latest version.
|