Sha256: e4e228c60f017165a089dfc92da1d781451257c7672b9a3b3faf9ed74ae86b33
Contents?: true
Size: 568 Bytes
Versions: 2
Compression:
Stored size: 568 Bytes
Contents
module Multiverse module Generators module ModelGenerator def parent_class_name Multiverse.db ? Multiverse.parent_class_name : super end end module Migration def db_migrate_path Multiverse.db ? Multiverse.migrate_path : super end end module MigrationTemplate def migration_template(source, destination, config = {}) if Multiverse.db super(source, destination.sub("db/migrate", Multiverse.migrate_path), config) else super end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
multiverse-0.2.2 | lib/multiverse/generators.rb |
multiverse-0.2.1 | lib/multiverse/generators.rb |