Permalink
Browse files

Bring back ActiveRecord::Base#connection_handler removed by mistake on

  • Loading branch information...
1 parent 1d95c56 commit ec8f59ca530316a14672686611c629abc4112950 @rafaelfranca rafaelfranca committed Apr 6, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 activerecord/lib/active_record/core.rb
@@ -344,6 +344,10 @@ def connection
self.class.connection
end
+ def connection_handler
+ self.class.connection_handler
+ end
+
# Returns the contents of the record as a nicely formatted string.
def inspect
inspection = if @attributes

0 comments on commit ec8f59c

Please sign in to comment.