1
0
Fork 0
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:
Santiago Pastorino 2010-08-15 07:57:41 -03:00
parent 69de30d01f
commit a81c956bf1

View file

@ -205,6 +205,7 @@ module ActiveRecord
class << self
alias :data_column_name :data_column
remove_method :connection
def connection
@@connection ||= ActiveRecord::Base.connection
end