zevarito/mixpanel — pull request #80 by adimichele (2013-02-24 18:10:26+00:00)
Title: Bypass the middleware on individual requests by calling Mixpanel::Middleware.skip_this_request

My use case for this was I have some controllers that use segment.io (instead of Mixpanel directly) to syndicate events and I needed to not insert the Mixpanel JS in those controllers only. I hacked together my own solution, but figured it would be nice if that functionality was in the gem!