diff --git a/lib/strong_migrations/migration.rb b/lib/strong_migrations/migration.rb index 09d039a9..5ea67eb5 100644 --- a/lib/strong_migrations/migration.rb +++ b/lib/strong_migrations/migration.rb @@ -18,7 +18,8 @@ def method_missing(method, *args) end end end - ruby2_keywords(:method_missing) if respond_to?(:ruby2_keywords, true) + # same as ActiveRecord::Migration + ruby2_keywords(:method_missing) def revert(*) if strong_migrations_checker.version_safe?