diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-08-15 07:57:41 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-08-15 07:59:40 -0300 |
commit | a81c956bf1647e0ae78fa6451fd4025d9ad5a9e3 (patch) | |
tree | 3c1c88f9e8bd069c0e381599c36eaeeeb54bb7db /activerecord | |
parent | 69de30d01f26c1dc2cee65cefcfe4f3a2d032cdc (diff) | |
download | rails-a81c956bf1647e0ae78fa6451fd4025d9ad5a9e3.tar.gz rails-a81c956bf1647e0ae78fa6451fd4025d9ad5a9e3.tar.bz2 rails-a81c956bf1647e0ae78fa6451fd4025d9ad5a9e3.zip |
remove already defined method to avoid warnings
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/session_store.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |