Remove deprecated ActiveSupport::Benchmarkable#silence

This commit is contained in:
Washington Luiz 2013-08-01 00:19:19 -03:00
parent 3299f3aeaf
commit 0e79779fc3
1 changed files with 31 additions and 35 deletions

View File

@ -46,7 +46,6 @@ end
module Schema
def self.create
ActiveRecord::Base.silence do
ActiveRecord::Migration.verbose = false
ActiveRecord::Schema.define do
@ -84,8 +83,6 @@ module Schema
t.string :notable_type
t.string :note
end
end
end
10.times do
@ -107,6 +104,5 @@ module Schema
end
Comment.make(:body => 'First post!', :article => Article.make(:title => 'Hello, world!'))
end
end