Sha256: c565388b74ac49f8d2570f530339d95cf8356c307011059800d8a7c31270d0e3
Contents?: true
Size: 482 Bytes
Versions: 10
Compression:
Stored size: 482 Bytes
Contents
module SchemaComments module Migrator def self.included(mod) mod.extend(ClassMethods) mod.instance_eval do alias :migrate_without_schema_comments :migrate alias :migrate :migrate_with_schema_comments end end module ClassMethods def migrate_with_schema_comments(*args, &block) SchemaComments::SchemaComment.yaml_access do migrate_without_schema_comments(*args, &block) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems