lib/strong_migrations/migration.rb in strong_migrations-1.6.1 vs lib/strong_migrations/migration.rb in strong_migrations-1.6.2
- old
+ new
@@ -19,10 +19,10 @@
end
end
ruby2_keywords(:method_missing) if respond_to?(:ruby2_keywords, true)
def safety_assured
- strong_migrations_checker.safety_assured do
+ strong_migrations_checker.class.safety_assured do
yield
end
end
def stop!(message, header: "Custom check")