I pushed a small commit to my ambitious-activerecord fork this
afternoon to fix Rails 2.2.2 compatibility.
Rails 2.2.2 removed ActiveRecord::Base.active_connection_name, along
with a few other related methods, in favour of the ConnectionHandler
class, and this broke the active_connection? method in ambitious-
activerecord.
Fortunately ActiveRecord::Base includes the connected? method (in
fact, it hits ConnectionHandler under the covers) that provides the
same functionality. This patch straightens things out.
http://github.com/benhoskings/ambitious_activerecord/commit/ef0e2f12d700dcd5343c0779dd9ae3c8b16911c1
Cheers
Ben Hoskings