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

- old
+ new

@@ -10,11 +10,13 @@ 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 + catch(:safe) do + strong_migrations_checker.perform(method, *args) do + super + end end end ruby2_keywords(:method_missing) if respond_to?(:ruby2_keywords, true) def safety_assured