diff --git a/beef b/beef index 7c997c867..d7790fc99 100755 --- a/beef +++ b/beef @@ -203,6 +203,7 @@ if Gem.loaded_specs['otr-activerecord'].version > Gem::Version.create('1.4.2') end # Migrate (if required) +ActiveRecord::Migration.verbose = false # silence activerecord migration stdout messages context = ActiveRecord::Migration.new.migration_context if context.needs_migration? ActiveRecord::Migrator.new(:up, context.migrations, context.schema_migration, context.internal_metadata).migrate diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 62d118ae1..af0cb3cd4 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -53,6 +53,7 @@ end ActiveRecord::Schema.verbose = false # Migrate (if required) +ActiveRecord::Migration.verbose = false # silence activerecord migration stdout messages context = ActiveRecord::Migration.new.migration_context if context.needs_migration? ActiveRecord::Migrator.new(:up, context.migrations, context.schema_migration, context.internal_metadata).migrate