Permalink
Browse files

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

  • Loading branch information...
1 parent 742d090 commit d481e0506095db44d05072dc0d527e69e3252222 @kennyj committed Mar 27, 2013
@@ -4,6 +4,7 @@ class FirebirdDatabaseTasks # :nodoc:
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
@@ -4,6 +4,7 @@ class OracleDatabaseTasks # :nodoc:
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
@@ -6,6 +6,7 @@ class SqlserverDatabaseTasks # :nodoc:
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

0 comments on commit d481e05

Please sign in to comment.