search for: chart_data

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

2007 Sep 12
10
Need help refactoring a controller, perhaps add threading?
...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 ActiveRecord yet...") outfile = File.open(''public/data/activities_by_request_''+params[:name]+''.csv'', ''wb'...