From a81c956bf1647e0ae78fa6451fd4025d9ad5a9e3 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino <santiago@wyeworks.com> Date: Sun, 15 Aug 2010 07:57:41 -0300 Subject: remove already defined method to avoid warnings --- activerecord/lib/active_record/session_store.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/session_store.rb b/activerecord/lib/active_record/session_store.rb index 1c4ecda5b5..bd3be93abb 100644 --- a/activerecord/lib/active_record/session_store.rb +++ b/activerecord/lib/active_record/session_store.rb @@ -205,6 +205,7 @@ module ActiveRecord class << self alias :data_column_name :data_column + remove_method :connection def connection @@connection ||= ActiveRecord::Base.connection end -- cgit v1.2.3