mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
remove already defined method to avoid warnings
This commit is contained in:
parent
69de30d01f
commit
a81c956bf1
1 changed files with 1 additions and 0 deletions
|
@ -205,6 +205,7 @@ module ActiveRecord
|
|||
class << self
|
||||
alias :data_column_name :data_column
|
||||
|
||||
remove_method :connection
|
||||
def connection
|
||||
@@connection ||= ActiveRecord::Base.connection
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue