This project is archived and is in readonly mode.

#4433 ✓resolved
David Chelimsky

ActiveSupport::Notifications.unsubscribe("by name") does not remove subscription

Reported by David Chelimsky | April 18th, 2010 @ 06:24 AM

ActiveSupport::Notifications::Fanout#unsubscribe assumes it is given a subscription object, but ActionController::TestCase#teardown_subscriptions passes it a String, so the subscription is never removed.

Patch: http://github.com/dchelimsky/rails/commit/3bd7148e63117517c1d7f21f0...

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Tags

Referenced by

Pages