search for: report_params

Displaying 2 results from an estimated 2 matches for "report_params".

2007 Mar 07
10
MiddleMan.worker blocks?
...nippets from my code are: class ReportController < SecurityController ... def create_xml_report(report,start_time) constraints = get_constraints(report,start_time,false) args = { :constraints => constraints, :start_time => start_time, :report_params => report } # For reasons unknown, the following seems to block! session[:xml_report_job] = MiddleMan.new_worker(:class => :xml_report_worker, :args => args) end def get_progress ... worker = MiddleMan.worker(session[job]) en...
2007 Jan 16
1
Can't pass parameters to Ziya controller using url_for
...However, I can''t seem to pass more than one parameter through to the action. <%= gen_chart( "overview_graph", url_for( :controller => ''graph'', :action => ''graph'', :graph_id => GraphController::GRAPH_OVERVIEW, :start_date => @report_params[:budget_period][:start_date].to_f, :end_date => @report_params[:budget_period][:end_date].to_f, :size => 300 ), "#ffffff", 300, 300 ) %> This just doesn''t work, however. The start date is passed through to the underlying action, but the rest of the paramete...