search for: activities_by_request

Displaying 1 result from an estimated 1 matches for "activities_by_request".

2007 Sep 12
10
Need help refactoring a controller, perhaps add threading?
...st of charts and the other with a div container for the charts (called chartDisplay). I have a link for a chart like below: <%= link_to_remote( "Activities by Request", :update => "chartDisplay", :url =>{ :action => :activities_by_request, :name => @project.name }) %> This in turn calls the following in my controller: def activities_by_request @chart_data = ActiveRecord::Base.connection().execute("very long complicated SQL query that I haven''t figured out how to refactor with Activ...