lib/strong_migrations/migration.rb in strong_migrations-0.7.6 vs lib/strong_migrations/migration.rb in strong_migrations-0.7.7
- old
+ new
@@ -5,9 +5,11 @@
super
connection.begin_db_transaction if strong_migrations_checker.transaction_disabled
end
def method_missing(method, *args)
+ return super if is_a?(ActiveRecord::Schema)
+
strong_migrations_checker.perform(method, *args) do
super
end
end
ruby2_keywords(:method_missing) if respond_to?(:ruby2_keywords, true)