disable some excessive logging in production

This commit is contained in:
Carl Chenet 2017-05-19 14:09:16 +02:00
parent 0b56323b97
commit 92e8507d5e

View file

@ -76,3 +76,7 @@ Lobsters::Application.configure do
# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false
end
%w{render_template render_partial render_collection}.each do |event|
ActiveSupport::Notifications.unsubscribe "#{event}.action_view"
end