Displaying 2 results from an estimated 2 matches for "reply_status_id".
2008 May 08
1
query strings built by R method can''t handle multiple values from checkbox selections
query strings built by R method can''t handle multiple values from checkbox
selections
R(SomeRoute, :reply_status=>%w{1 2 4})
should return
query_string="
http://localhost:3301/someroute/?reply_status_id=1&reply_status_id=2&reply_status_id=4
"
qsp(query_string) -> {"reply_status_id"=>["1", "2", "4"]}
from camping_unabridged.rb
def R(c,*g)
p,h=/\(.+?\)/,g.grep(Hash)
g-=h
raise "bad route" unless u = c.urls....
2008 May 23
0
R(c,*g) helper method can''t handle nested hash input params
params= {"search"=>"Search",
"date_begin"=>"2007-05-01",
"date_type"=>"created_on",
"order"=>1,
"report_type"=>"year_end",
"person"=>
{"reply_status_id"=>"1",
"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&...