Displaying 1 result from an estimated 1 matches for "reply_status_id1created_on2007".
2008 May 23
0
R(c,*g) helper method can''t handle nested hash input params
...uot;created_on"=>
Tue, 01 May 2007 00:00:00 +0000..Fri, 23 May 2008 00:00:00 +0000},
"date_end"=>"2008-05-23"}
R(Report,params)
=
"/report/?search=Search&date_begin=2007-05-01&date_type=created_on&order
=1&report_type=year_end&person=reply_status_id1created_on2007-05-01T00%3A00%3A00
%2B00%3A00..2008-05-23T00%3A00%3A00%2B00%3A00&date_end=2008-05-23"
untested fix of module Helpers method R(c,*g)
def R(c,*g)
p,h=/\(.+?\)/,g.grep(Hash)
g-=h
raise "bad route" unless u = c.urls.find{|x|
break x if x.scan(...