noahd1 / oink

Log parser to identify actions which significantly increase VM heap size
MIT License
1.18k stars 71 forks source link

Add support for controller within a module #8

Closed wagner closed 13 years ago

wagner commented 13 years ago

Oink does not reports the correct controller if it's inside a module, like the example below:

class Report::PaymentsController < ApplicationController
  def show
    ...
  end
end

MemoryUsageReport#print and ActiveRecordInstantiationReport#print should parse it as "report/payments#show"

noahd1 commented 13 years ago

Thanks for this - I'll merge this shortly.