I was able to disable related logs ActiveRecord
by setting config.active_record.logger = nil
toconfig/environments/test.rb
I am still getting the following results:
Processing by Admin::WebsitesController
Parameters: {"id"=>"226"}
Rendered admin/websites/_form.html.erb (6.8ms)
Rendered admin/websites/edit.html.erb within layouts/application (7.2ms)
Completed 200 OK in 36ms (Views: 33.5ms | ActiveRecord: 0.0ms)
I tried the following options, but they did not help:
ActiveRecord::Base.logger = nil
config.action_controller.logger = nil
config.action_view.logger = nil
What am I missing?
source
share