Sha256: 11bc42091139503f5374deb4400c8726d85ff13c27292fd08fb6b3fe52eceb36
Contents?: true
Size: 866 Bytes
Versions: 9
Compression:
Stored size: 866 Bytes
Contents
require File.join(File.dirname(__FILE__), 'migrations') begin ActsAsTaggableOnMigration.down rescue puts "WARNING: ActsAsTaggableOnMigration failed to rollback" end mailboxer_path = Gem::GemPathSearcher.new.find('mailboxer').full_gem_path mailboxer_migration = File.join([mailboxer_path,'db', 'migrate']) begin ActiveRecord::Migrator.migrate mailboxer_migration, 0 rescue puts "WARNING: Mailboxer migration failed to rollback" end begin ActiveRecord::Migrator.migrate File.expand_path("../../dummy/db/migrate/", __FILE__), 0 rescue puts "WARNING: Social Stream Base failed to rollback" end ActsAsTaggableOnMigration.up ActiveRecord::Migrator.migrate mailboxer_migration # Run any available migration ActiveRecord::Migrator.migrate File.expand_path("../../dummy/db/migrate/", __FILE__) require File.expand_path("../../dummy/db/seeds", __FILE__)
Version data entries
9 entries across 9 versions & 1 rubygems