Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
Fix test for rails edge
Browse files Browse the repository at this point in the history
  • Loading branch information
binarylogic committed Feb 9, 2017
1 parent ca99422 commit 5a15ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/timber/probes/rails_rack_logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module InstanceMethods
def self.included(klass)
klass.class_eval do
protected
if klass.method_defined?(:started_request_message)
if klass.private_instance_methods.include?(:started_request_message) || klass.method_defined?(:started_request_message)
def started_request_message(request)
http_request_event(request)
end
Expand Down

0 comments on commit 5a15ff7

Please sign in to comment.