lib/strong_migrations/migration.rb in strong_migrations-0.7.9 vs lib/strong_migrations/migration.rb in strong_migrations-0.8.0

- old
+ new

@@ -7,9 +7,12 @@ end def method_missing(method, *args) return super if is_a?(ActiveRecord::Schema) + # Active Record 7.0.2+ versioned schema + return super if defined?(ActiveRecord::Schema::Definition) && is_a?(ActiveRecord::Schema::Definition) + strong_migrations_checker.perform(method, *args) do super end end ruby2_keywords(:method_missing) if respond_to?(:ruby2_keywords, true)