Skip to content

Commit

Permalink
debugging request name
Browse files Browse the repository at this point in the history
  • Loading branch information
caryfitzhugh committed Jun 11, 2012
1 parent 9b6b8c8 commit 03f90c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions lib/truestack_rails.rb
Expand Up @@ -38,7 +38,4 @@ class Railtie < ::Rails::Railtie
def self.method_name(klass, name)
"#{klass.class.to_s}##{name}"
end
def self.request_name(controller, action)
"#{controller}##{action}"
end
end
2 changes: 2 additions & 0 deletions lib/truestack_rails/railtie_3_2.rb
Expand Up @@ -106,6 +106,8 @@ def singleton_method_added(method)
private
# Match the WRAPPED_METHOD_PREFIX
def _truestack_request_logging_around_filter
# We want to see if 'self' is the right class name
binding.pry
@truestack_request_id = "#{controller_name}##{action_name}"
exception = nil

Expand Down
2 changes: 1 addition & 1 deletion lib/truestack_rails/version.rb
@@ -1,3 +1,3 @@
module TruestackRails
VERSION = "0.0.188"
VERSION = "0.0.190"
end

0 comments on commit 03f90c9

Please sign in to comment.