Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Franco's Profile

GitHub User: fbrusatti

Comments by Franco

Avatar

How you unsubscribe of one Notification? I have a very annoying Notification and I really want to remove it, I've try with

$> ActiveSupport::LogSubscriber.flush_all!

$> ActiveSupport::Notifications.unsubscribe( ActiveSupport::LogSubscriber.flushable_loggers.first )

but nothing of this works.

The notifications seem to be of active_record, here is one of the infinity notification that I see

Got notification: #<ActiveSupport::Notifications::Event:0xba9bdd8 @name="sql.active_record ......

I don't know how the notification were activated but I can't disable them, please help