Sha256: 81237bd4f58cc9b6d87ff8f84033935917ad88ae0865fe65e91636927fa4f4d4
Contents?: true
Size: 708 Bytes
Versions: 3
Compression:
Stored size: 708 Bytes
Contents
# Social Stream migration template require File.join(Rails.root, File.join('..', '..', 'lib', 'generators', 'social_stream', 'templates', 'migration')) # Mailboxer migration template finder = Gem::GemPathSearcher.new mailboxer_spec = finder.find('mailboxer') mailboxer_migration = finder.matching_files(mailboxer_spec, File.join('generators', 'mailboxer', 'templates', 'migration')).first require mailboxer_migration %w( SocialStream Mailboxer ).each do |m| begin "Create#{ m }".constantize.down rescue puts "WARNING: #{ m } migration failed to rollback" end end CreateMailboxer.up CreateSocialStream.up require File.expand_path("../../dummy/db/seeds", __FILE__)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
social_stream-0.4.3 | spec/support/db.rb |
social_stream-0.4.2 | spec/support/db.rb |
social_stream-0.4.1 | spec/support/db.rb |