Remove deprecated ActiveSupport::Benchmarkable#silence
This commit is contained in:
parent
3299f3aeaf
commit
0e79779fc3
|
@ -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
|
Loading…
Reference in New Issue