Sha256: 211964fcb078be77b38bd70cc22f53164e6277e678bf16be396ddea33f8b3cea
Contents?: true
Size: 474 Bytes
Versions: 2
Compression:
Stored size: 474 Bytes
Contents
module Hypershield module Migration def method_missing(method, *args) if [ :change_column, :change_table, :drop_join_table, :drop_table, :remove_belongs_to, :remove_column, :remove_columns, :remove_reference, :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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hypershield-0.4.0 | lib/hypershield/migration.rb |
hypershield-0.3.1 | lib/hypershield/migration.rb |