Skip to content
Browse files

remove already defined method to avoid warnings

  • Loading branch information...
1 parent 69de30d commit a81c956bf1647e0ae78fa6451fd4025d9ad5a9e3 @spastorino spastorino committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 activerecord/lib/active_record/session_store.rb
View
1 activerecord/lib/active_record/session_store.rb
@@ -205,6 +205,7 @@ class SqlBypass
class << self
alias :data_column_name :data_column
+ remove_method :connection
def connection
@@connection ||= ActiveRecord::Base.connection
end

0 comments on commit a81c956

Please sign in to comment.
Something went wrong with that request. Please try again.