Skip to content

Commit

Permalink
remove already defined method to avoid warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Aug 15, 2010
1 parent 69de30d commit a81c956
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions activerecord/lib/active_record/session_store.rb
Expand Up @@ -205,6 +205,7 @@ class SqlBypass
class << self class << self
alias :data_column_name :data_column alias :data_column_name :data_column


remove_method :connection
def connection def connection
@@connection ||= ActiveRecord::Base.connection @@connection ||= ActiveRecord::Base.connection
end end
Expand Down

0 comments on commit a81c956

Please sign in to comment.