lib/logstasher.rb in logstasher-0.8.5 vs lib/logstasher.rb in logstasher-0.8.6
- old
+ new
@@ -28,9 +28,11 @@
unsubscribe(:action_view, subscriber)
when 'ActionController::LogSubscriber'
unsubscribe(:action_controller, subscriber)
when 'ActionMailer::LogSubscriber'
unsubscribe(:action_mailer, subscriber)
+ when 'ActiveRecord::LogSubscriber'
+ unsubscribe(:active_record, subscriber)
end
end
end
def unsubscribe(component, subscriber)