engineyard/rails_metrics — Issue #9: Fails when app has model named "charts"
Author: mikrogroove
Created: 2011-11-27 01:27:30+00:00
State: open

It seems the path resolver get confused if the application in which rails_metrics is running has a model with the name "charts"; I get:

No route matches {:action=>"chart", :controller=>"rails_metrics"}

Following the trace led me to rails_metrics_helper, line 128:

concat link_to_image_unless_current(:chart_pie, chart_rails_metric_path(metric.request_id), "Chart")