1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add deprecation message on Firebird / Sqlserver / Oracle database tasks.

This commit is contained in:
kennyj 2013-03-28 03:53:49 +09:00
parent 742d090189
commit d481e05060
3 changed files with 3 additions and 0 deletions

View file

@ -4,6 +4,7 @@ module ActiveRecord
delegate :connection, :establish_connection, to: ActiveRecord::Base
def initialize(configuration)
ActiveSupport::Deprecation.warn "This database tasks were deprecated, because this tasks should be served by the 3rd party adapter."
@configuration = configuration
end

View file

@ -4,6 +4,7 @@ module ActiveRecord
delegate :connection, :establish_connection, to: ActiveRecord::Base
def initialize(configuration)
ActiveSupport::Deprecation.warn "This database tasks were deprecated, because this tasks should be served by the 3rd party adapter."
@configuration = configuration
end

View file

@ -6,6 +6,7 @@ module ActiveRecord
delegate :connection, :establish_connection, to: ActiveRecord::Base
def initialize(configuration)
ActiveSupport::Deprecation.warn "This database tasks were deprecated, because this tasks should be served by the 3rd party adapter."
@configuration = configuration
end