lib/hypershield/migration.rb in hypershield-0.2.1 vs lib/hypershield/migration.rb in hypershield-0.2.2

- old
+ new

@@ -1,14 +1,15 @@ module Hypershield module Migration - def method_missing(method, *args, **options) + def method_missing(method, *args) if [ :change_column, :drop_table, :remove_column, :remove_columns, :remove_timestamps, :rename_column, :rename_table ].include?(method) Hypershield.drop_view(args[0]) end super end + ruby2_keywords(:method_missing) if respond_to?(:ruby2_keywords, true) end end