Permalink
Browse files

Remove deprecated method `supports_migrations?`

  • Loading branch information...
rafaelfranca committed Sep 15, 2017
1 parent c9660b5 commit 9438c144b1893f2a59ec0924afe4d46bd8d5ffdd
@@ -1,3 +1,7 @@
* Remove deprecated method `supports_migrations?`.
*Rafael Mendonça França*
* Remove deprecated methods `initialize_schema_migrations_table` and `initialize_internal_metadata_table`.
*Rafael Mendonça França*
@@ -196,11 +196,6 @@ def adapter_name
self.class::ADAPTER_NAME
end
def supports_migrations? # :nodoc:
true
end
deprecate :supports_migrations?
def supports_primary_key? # :nodoc:
true
end
@@ -1107,10 +1107,6 @@ def test_unknown_migration_version_should_raise_an_argument_error
assert_raise(ArgumentError) { ActiveRecord::Migration[1.0] }
end
def test_deprecate_supports_migrations
assert_deprecated { ActiveRecord::Base.connection.supports_migrations? }
end
def test_deprecate_schema_migrations_table_name
assert_deprecated { ActiveRecord::Migrator.schema_migrations_table_name }
end

0 comments on commit 9438c14

Please sign in to comment.