Merge branch 'fix_missing_method' of https://github.com/kawamoto/database_cleaner into kawamoto-fix_missing_method

This commit is contained in:
Ernesto Tagwerker 2017-05-09 09:52:02 -04:00
commit 20e30e43bb

View file

@ -73,7 +73,7 @@ module DatabaseCleaner::ActiveRecord
INFORMATION_SCHEMA.TABLES
WHERE
table_schema = '#{db_name}'
AND table_name <> '#{migration_table_name}';
AND table_name <> '#{::DatabaseCleaner::ActiveRecord::Base.migration_table_name}';
SQL
end
end