```ruby

require 'jellyfish'
require 'rack/request'
require 'new_relic/agent/instrumentation/controller_instrumentation'

module Jellyfish
  module NewRelic
    include ::NewRelic::Agent::Instrumentation::ControllerInstrumentation

    def block_call argument, block
      path = if argument.respond_to?(:regexp)
               argument.regexp
             else
               argument
             end.to_s[1..-1]
      name = "#{env['REQUEST_METHOD']} #{path}"
        # magic category: NewRelic::MetricParser::WebTransaction::Jellyfish
      perform_action_with_newrelic_trace(:category => 'Controller/Jellyfish',
                                         :path     => path                  ,
                                         :name     => name                  ,
                                         :request  => request               ,
                                         :params   => request.params){super}
    end
  end
end
```

Fix for transaction naming in New Relic
user
```ruby

require 'jellyfish'
require 'rack/request'
require 'new_relic/agent/instrumentation/controller_instrumentation'

module Jellyfish
  module NewRelic
    include ::NewRelic::Agent::Instrumentation::ControllerInstrumentation

    def block_call argument, block
      path = if argument.respond_to?(:regexp)
               argument.regexp
             else
               argument
             end.to_s[1..-1]
      name = "#{env['REQUEST_METHOD']} #{path}"

      perform_action_with_newrelic_trace(:category => :rack  ,
                                         :name     => name   ,
                                         :request  => request,
                                         :params   => request.params){super}
    end
  end
end
```
assistant