lib/tunemygc/spies/action_controller.rb in tunemygc-1.0.27 vs lib/tunemygc/spies/action_controller.rb in tunemygc-1.0.28

- old
+ new

@@ -5,13 +5,23 @@ module TuneMyGc class StartRequestSubscriber < Subscriber def start(name, id, payload) TuneMyGc.processing_started end + + # Rails 3 + def call(*args) + TuneMyGc.processing_started + end end class EndRequestSubscriber < Subscriber def finish(name, id, payload) + TuneMyGc.processing_ended + end + + # Rails 3 + def call(*args) TuneMyGc.processing_ended end end end \ No newline at end of file